Package com.tngtech.jgiven.junit5
Class ScenarioTest<GIVEN,WHEN,THEN>
java.lang.Object
com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
com.tngtech.jgiven.junit5.ScenarioTest<GIVEN,WHEN,THEN>
- Type Parameters:
GIVEN
- the GIVEN stageWHEN
- the WHEN stageTHEN
- the THEN stage
@ExtendWith(JGivenExtension.class)
public class ScenarioTest<GIVEN,WHEN,THEN>
extends com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
Convenience test base class for writing JGiven scenarios with JUnit 5.
If you only have one stage class you can also use the
SimpleScenarioTest
class.
If you don't want to inherit from any class you can just use the JGivenExtension
directly.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.tngtech.jgiven.base.ScenarioTestBase
addStage, createNewScenario, createScenario, given, section, then, when, wireSteps