com.tngtech.jgiven.base
Class SimpleScenarioTestBase<STEPS>

java.lang.Object
  extended by com.tngtech.jgiven.base.ScenarioTestBase<STEPS,STEPS,STEPS>
      extended by com.tngtech.jgiven.base.SimpleScenarioTestBase<STEPS>

public class SimpleScenarioTestBase<STEPS>
extends ScenarioTestBase<STEPS,STEPS,STEPS>

ScenarioTest that only takes a single type parameter that is used for all three step definition types. Useful for simple scenarios where multiple classes for step definitions offer no benefit. This class is typically not directly used by end users, but instead test-framework-specific classes for JUnit or TestNG


Constructor Summary
SimpleScenarioTestBase()
           
 
Method Summary
protected  Scenario<STEPS,STEPS,STEPS> createScenario()
           
 
Methods inherited from class com.tngtech.jgiven.base.ScenarioTestBase
addStage, createNewScenario, getScenario, given, then, when, wireSteps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScenarioTestBase

public SimpleScenarioTestBase()
Method Detail

createScenario

protected Scenario<STEPS,STEPS,STEPS> createScenario()
Overrides:
createScenario in class ScenarioTestBase<STEPS,STEPS,STEPS>


Copyright © 2014 TNG Technology Consulting. All rights reserved.