com.tngtech.jgiven.integration.spring
Class SpringScenarioTest<GIVEN,WHEN,THEN>
java.lang.Object
com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
com.tngtech.jgiven.integration.spring.SpringScenarioTest<GIVEN,WHEN,THEN>
- Type Parameters:
GIVEN
- WHEN
- THEN
-
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware
public class SpringScenarioTest<GIVEN,WHEN,THEN>
- extends com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
- implements org.springframework.beans.factory.BeanFactoryAware
Base class for SpringScenarioExecutor
based JGiven tests
- Since:
- 0.8.0
Field Summary |
com.tngtech.jgiven.junit.ScenarioExecutionRule |
scenarioRule
|
static com.tngtech.jgiven.junit.ScenarioReportRule |
writerRule
|
Method Summary |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class com.tngtech.jgiven.base.ScenarioTestBase |
addStage, createNewScenario, createScenario, getScenario, given, then, when, wireSteps |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writerRule
public static final com.tngtech.jgiven.junit.ScenarioReportRule writerRule
scenarioRule
public final com.tngtech.jgiven.junit.ScenarioExecutionRule scenarioRule
SpringScenarioTest
public SpringScenarioTest()
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware