Class SimpleScenarioTest<STEPS>

  • Type Parameters:
    STEPS - a class that contains the step definitions, typically inheriting from Stage

    public class SimpleScenarioTest<STEPS>
    extends com.tngtech.jgiven.base.SimpleScenarioTestBase<STEPS>
    Base class for TestNG-based scenario tests that only have a single class with step definitions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.tngtech.jgiven.impl.Scenario<STEPS,​STEPS,​STEPS> getScenario()  
      • Methods inherited from class com.tngtech.jgiven.base.SimpleScenarioTestBase

        createScenario
      • Methods inherited from class com.tngtech.jgiven.base.ScenarioTestBase

        addStage, createNewScenario, given, section, then, when, wireSteps
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleScenarioTest

        public SimpleScenarioTest()
    • Method Detail

      • getScenario

        public com.tngtech.jgiven.impl.Scenario<STEPS,​STEPS,​STEPS> getScenario()
        Specified by:
        getScenario in class com.tngtech.jgiven.base.ScenarioTestBase<STEPS,​STEPS,​STEPS>