ScenarioTester
public class ScenarioTester
| Constructor Summary | |
|---|---|
| void | __construct(ContainerInterface container) Initializes tester. |
| Method Summary | |
|---|---|
| void | setSkip(Boolean skip) Sets tester to dry-run mode. |
| integer | visit(AbstractNode scenario) Visits & tests ScenarioNode. |
| protected integer | visitBackground(BackgroundNode background, ScenarioNode logicalParent, ContextInterface context) Visits & tests BackgroundNode. |
| protected integer | visitStep(StepNode step, ScenarioNode logicalParent, ContextInterface context, array tokens, boolean skip) Visits & tests StepNode. |
public void __construct(ContainerInterface container)
Initializes tester.
public void setSkip(Boolean skip)
Sets tester to dry-run mode.
public integer visit(AbstractNode scenario)
Visits & tests ScenarioNode.
protected integer visitBackground(BackgroundNode background, ScenarioNode logicalParent, ContextInterface context)
Visits & tests BackgroundNode.
protected integer visitStep(StepNode step, ScenarioNode logicalParent, ContextInterface context, array tokens, boolean skip)
Visits & tests StepNode.
Scenario Tester.