Method |
Description |
|
it_does_not_prompt_if_no_method_was_called_beforehand ( ExampleEvent $exampleEvent, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_actual_value_is_not_null ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, PhpSpec\Exception\Example\NotEqualException $notEqualException, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_expected_value_is_an_object ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, PhpSpec\Exception\Example\NotEqualException $notEqualException, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_input_is_not_interactive ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_io_has_faking_disabled ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_method_is_not_empty ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, MethodAnalyser $methodAnalyser, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_multiple_contradictory_examples_are_found ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, PhpSpec\Exception\Example\NotEqualException $notEqualException, ConsoleIO $io, ExampleEvent $exampleEvent2, PhpSpec\Exception\Example\NotEqualException $notEqualException2, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_there_is_a_problem_creating_the_resource ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, PhpSpec\Locator\ResourceManager $resourceManager, SuiteEvent $event ) |
|
|
it_does_not_prompt_when_wrong_type_of_exception_is_thrown ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, SuiteEvent $event ) |
|
|
it_invokes_method_body_generation_when_prompt_is_answered_yes ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, GeneratorManager $generatorManager, PhpSpec\Locator\ResourceManager $resourceManager, PhpSpec\Locator\Resource $resource, SuiteEvent $event ) |
|
|
it_is_an_event_listener ( ) |
|
|
it_listens_to_examples_to_spot_failures ( ) |
|
|
it_listens_to_method_calls_to_see_what_has_failed ( ) |
|
|
it_listens_to_suites_to_know_when_to_prompt ( ) |
|
|
it_prompts_when_correct_type_of_exception_is_thrown ( MethodCallEvent $methodCallEvent, ExampleEvent $exampleEvent, ConsoleIO $io, SuiteEvent $event ) |
|
|
let ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resourceManager, GeneratorManager $generatorManager, ExampleEvent $exampleEvent, PhpSpec\Exception\Example\NotEqualException $notEqualException, MethodAnalyser $methodAnalyser ) |
|
|