StepTester
public class StepTester
| Constructor Summary | |
|---|---|
| void | __construct(ContainerInterface container) Initializes tester. |
| Method Summary | |
|---|---|
| void | setLogicalParent(ScenarioNode parent) Sets logical parent of the step, which is always a ScenarioNode. |
| void | setContext(ContextInterface context) Sets run context. |
| void | skip(Boolean skip) Marks test as skipped. |
| integer | visit(AbstractNode step) Visits & tests StepNode. |
| protected StepEvent | executeStep(StepNode step) Searches and runs provided step with DefinitionDispatcher. |
| protected void | executeStepDefinition(StepNode step, DefinitionInterface definition) Executes provided step definition. |
public void __construct(ContainerInterface container)
Initializes tester.
public void setLogicalParent(ScenarioNode parent)
Sets logical parent of the step, which is always a ScenarioNode.
public void setContext(ContextInterface context)
Sets run context.
public void skip(Boolean skip)
Marks test as skipped.
public integer visit(AbstractNode step)
Visits & tests StepNode.
protected StepEvent executeStep(StepNode step)
Searches and runs provided step with DefinitionDispatcher.
protected void executeStepDefinition(StepNode step, DefinitionInterface definition)
Executes provided step definition.
Step Tester.