cucumber.runtime.model
Class CucumberScenario
java.lang.Object
cucumber.runtime.model.StepContainer
cucumber.runtime.model.CucumberTagStatement
cucumber.runtime.model.CucumberScenario
public class CucumberScenario
- extends CucumberTagStatement
|
Method Summary |
World |
newWorld(Runtime runtime)
|
void |
run(gherkin.formatter.Formatter formatter,
gherkin.formatter.Reporter reporter,
Runtime runtime)
This method is called when Cucumber is run from the CLI, but not when run from JUnit |
void |
runBackground(gherkin.formatter.Formatter formatter,
gherkin.formatter.Reporter reporter)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CucumberScenario
public CucumberScenario(CucumberFeature cucumberFeature,
CucumberBackground cucumberBackground,
gherkin.formatter.model.Scenario scenario)
CucumberScenario
public CucumberScenario(CucumberFeature cucumberFeature,
CucumberBackground cucumberBackground,
gherkin.formatter.model.Scenario exampleScenario,
gherkin.formatter.model.Row example)
newWorld
public World newWorld(Runtime runtime)
run
public void run(gherkin.formatter.Formatter formatter,
gherkin.formatter.Reporter reporter,
Runtime runtime)
- This method is called when Cucumber is run from the CLI, but not when run from JUnit
- Specified by:
run in class CucumberTagStatement
runBackground
public void runBackground(gherkin.formatter.Formatter formatter,
gherkin.formatter.Reporter reporter)