|
| __construct (StepTester $steptester) |
| Constructor.
|
|
| setEventDispatcher (EventDispatcherInterface $eventdispatcher) |
| Set event dispatcher to use for events.
|
|
| setUp (Environment $env, FeatureNode $feature, StepNode $step, $skip) |
| Sets up step for a test.
|
|
| tearDown (Environment $env, FeatureNode $feature, StepNode $step, $skip, StepResult $result) |
| Tears down step after a test.
|
|
| test (Environment $env, FeatureNode $feature, StepNode $step, $skip) |
| Tests step.
|
|
|
const | EXCEPTIONS_STEP_TEXT = 'I look for exceptions' |
| The text of the step to look for exceptions / debugging messages.
|
|
|
static bool | $chainedstepused = false |
| Keep status of chained steps if used.
|
|
◆ __construct()
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::__construct |
( |
StepTester | $steptester | ) |
|
Constructor.
- Parameters
-
StepTester | $steptester | single step tester. |
◆ is_chained_step_used()
static Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::is_chained_step_used |
( |
| ) |
|
|
static |
Returns if cahined steps are used.
- Return values
-
◆ setEventDispatcher()
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::setEventDispatcher |
( |
EventDispatcherInterface | $eventdispatcher | ) |
|
Set event dispatcher to use for events.
- Parameters
-
EventDispatcherInterface | $eventdispatcher | |
◆ setUp()
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::setUp |
( |
Environment | $env, |
|
|
FeatureNode | $feature, |
|
|
StepNode | $step, |
|
|
| $skip ) |
Sets up step for a test.
- Parameters
-
Environment | $env | |
FeatureNode | $feature | |
StepNode | $step | |
bool | $skip | |
- Return values
-
◆ tearDown()
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::tearDown |
( |
Environment | $env, |
|
|
FeatureNode | $feature, |
|
|
StepNode | $step, |
|
|
| $skip, |
|
|
StepResult | $result ) |
Tears down step after a test.
- Parameters
-
Environment | $env | |
FeatureNode | $feature | |
StepNode | $step | |
bool | $skip | |
StepResult | $result | |
- Return values
-
◆ test()
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester::test |
( |
Environment | $env, |
|
|
FeatureNode | $feature, |
|
|
StepNode | $step, |
|
|
| $skip ) |
Tests step.
- Parameters
-
Environment | $env | |
FeatureNode | $feature | |
StepNode | $step | |
bool | $skip | |
- Return values
-
The documentation for this class was generated from the following file:
- lib/behat/extension/Moodle/BehatExtension/EventDispatcher/Tester/ChainedStepTester.php