cucumber.runtime.model
Class CucumberScenario

java.lang.Object
  extended by cucumber.runtime.model.StepContainer
      extended by cucumber.runtime.model.CucumberTagStatement
          extended by cucumber.runtime.model.CucumberScenario

public class CucumberScenario
extends CucumberTagStatement


Field Summary
 
Fields inherited from class cucumber.runtime.model.CucumberTagStatement
tagStatement
 
Fields inherited from class cucumber.runtime.model.StepContainer
cucumberFeature
 
Constructor Summary
CucumberScenario(CucumberFeature cucumberFeature, CucumberBackground cucumberBackground, gherkin.formatter.model.Scenario scenario)
           
CucumberScenario(CucumberFeature cucumberFeature, CucumberBackground cucumberBackground, gherkin.formatter.model.Scenario exampleScenario, gherkin.formatter.model.Row example)
           
 
Method Summary
 CucumberBackground getCucumberBackground()
           
 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
 
Methods inherited from class cucumber.runtime.model.CucumberTagStatement
getVisualName, tagsAndInheritedTags
 
Methods inherited from class cucumber.runtime.model.StepContainer
format, getSteps, runStep, runSteps, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getCucumberBackground

public CucumberBackground getCucumberBackground()

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


Copyright © 2012. All Rights Reserved.