PHP Класс spec\PhpSpec\Runner\ExampleRunnerSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_dispatches_ExampleEvent_with_failed_status_if_example_throws_an_error ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
it_dispatches_ExampleEvent_with_failed_status_if_example_throws_exception ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
it_dispatches_ExampleEvent_with_failed_status_if_matcher_throws_exception ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
it_dispatches_ExampleEvent_with_pending_status_if_example_is_pending ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example )
it_executes_example_in_newly_created_context ( ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
it_runs_all_supported_maintainers_before_and_after_each_example ( ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Runner\Maintainer\Maintainer $maintainer )
it_runs_let_and_letgo_maintainer_before_and_after_each_example_if_the_example_throws_an_exception ( ExampleNode $example, SpecificationNode $specification, ReflectionClass $specReflection, ReflectionMethod $exampReflection, LetAndLetgoMaintainer $maintainer, PhpSpec\Specification $context )
let ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Formatter\Presenter\Presenter $presenter, ExampleNode $example, SpecificationNode $specification, ReflectionClass $specReflection, ReflectionMethod $exampReflection, PhpSpec\Specification $context )

Описание методов

it_dispatches_ExampleEvent_with_failed_status_if_example_throws_an_error() публичный Метод

public it_dispatches_ExampleEvent_with_failed_status_if_example_throws_an_error ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$example PhpSpec\Loader\Node\ExampleNode
$exampReflection ReflectionMethod
$context PhpSpec\Specification

it_dispatches_ExampleEvent_with_failed_status_if_example_throws_exception() публичный Метод

public it_dispatches_ExampleEvent_with_failed_status_if_example_throws_exception ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$example PhpSpec\Loader\Node\ExampleNode
$exampReflection ReflectionMethod
$context PhpSpec\Specification

it_dispatches_ExampleEvent_with_failed_status_if_matcher_throws_exception() публичный Метод

public it_dispatches_ExampleEvent_with_failed_status_if_matcher_throws_exception ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$example PhpSpec\Loader\Node\ExampleNode
$exampReflection ReflectionMethod
$context PhpSpec\Specification

it_dispatches_ExampleEvent_with_pending_status_if_example_is_pending() публичный Метод

public it_dispatches_ExampleEvent_with_pending_status_if_example_is_pending ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$example PhpSpec\Loader\Node\ExampleNode

it_executes_example_in_newly_created_context() публичный Метод

public it_executes_example_in_newly_created_context ( ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
$example PhpSpec\Loader\Node\ExampleNode
$exampReflection ReflectionMethod
$context PhpSpec\Specification

it_runs_all_supported_maintainers_before_and_after_each_example() публичный Метод

public it_runs_all_supported_maintainers_before_and_after_each_example ( ExampleNode $example, ReflectionMethod $exampReflection, PhpSpec\Runner\Maintainer\Maintainer $maintainer )
$example PhpSpec\Loader\Node\ExampleNode
$exampReflection ReflectionMethod
$maintainer PhpSpec\Runner\Maintainer\Maintainer

it_runs_let_and_letgo_maintainer_before_and_after_each_example_if_the_example_throws_an_exception() публичный Метод

public it_runs_let_and_letgo_maintainer_before_and_after_each_example_if_the_example_throws_an_exception ( ExampleNode $example, SpecificationNode $specification, ReflectionClass $specReflection, ReflectionMethod $exampReflection, LetAndLetgoMaintainer $maintainer, PhpSpec\Specification $context )
$example PhpSpec\Loader\Node\ExampleNode
$specification PhpSpec\Loader\Node\SpecificationNode
$specReflection ReflectionClass
$exampReflection ReflectionMethod
$maintainer PhpSpec\Runner\Maintainer\LetAndLetgoMaintainer
$context PhpSpec\Specification

let() публичный Метод

public let ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Formatter\Presenter\Presenter $presenter, ExampleNode $example, SpecificationNode $specification, ReflectionClass $specReflection, ReflectionMethod $exampReflection, PhpSpec\Specification $context )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$presenter PhpSpec\Formatter\Presenter\Presenter
$example PhpSpec\Loader\Node\ExampleNode
$specification PhpSpec\Loader\Node\SpecificationNode
$specReflection ReflectionClass
$exampReflection ReflectionMethod
$context PhpSpec\Specification