Package com.tngtech.jgiven.base
Class SimpleScenarioTestBase<STEPS>
- java.lang.Object
-
- com.tngtech.jgiven.base.ScenarioTestBase<STEPS,STEPS,STEPS>
-
- com.tngtech.jgiven.base.SimpleScenarioTestBase<STEPS>
-
- Direct Known Subclasses:
EinfacheSzenarioTestBasis
,SimpleEscenarioTestBase
,SimplesCenarioTesteBase
,SimpleTestDeScenarioBase
public abstract 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
Constructors Constructor Description SimpleScenarioTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.tngtech.jgiven.impl.Scenario<STEPS,STEPS,STEPS>
createScenario()
-
Methods inherited from class com.tngtech.jgiven.base.ScenarioTestBase
addStage, createNewScenario, getScenario, given, section, then, when, wireSteps
-
-
-
-
Method Detail
-
createScenario
protected com.tngtech.jgiven.impl.Scenario<STEPS,STEPS,STEPS> createScenario()
- Overrides:
createScenario
in classScenarioTestBase<STEPS,STEPS,STEPS>
-
-