Package com.tngtech.jgiven.junit5
Class DualScenarioTest<GIVEN_WHEN,THEN>
- java.lang.Object
-
- com.tngtech.jgiven.base.ScenarioTestBase<GIVEN_WHEN,GIVEN_WHEN,THEN>
-
- com.tngtech.jgiven.base.DualScenarioTestBase<GIVEN_WHEN,THEN>
-
- com.tngtech.jgiven.junit5.DualScenarioTest<GIVEN_WHEN,THEN>
-
- Type Parameters:
GIVEN_WHEN
- the combined GIVEN and WHEN stageTHEN
- the THEN stage
@ExtendWith(JGivenExtension.class) public class DualScenarioTest<GIVEN_WHEN,THEN> extends com.tngtech.jgiven.base.DualScenarioTestBase<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 theSimpleScenarioTest
class. If you don't want to inherit from any class you can just use theJGivenExtension
directly.- See Also:
JGivenExtension
,SimpleScenarioTest
-
-
Constructor Summary
Constructors Constructor Description DualScenarioTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.tngtech.jgiven.impl.Scenario<GIVEN_WHEN,GIVEN_WHEN,THEN>
getScenario()
-
-
-
Method Detail
-
getScenario
public com.tngtech.jgiven.impl.Scenario<GIVEN_WHEN,GIVEN_WHEN,THEN> getScenario()
- Specified by:
getScenario
in classcom.tngtech.jgiven.base.ScenarioTestBase<GIVEN_WHEN,GIVEN_WHEN,THEN>
-
-