GIVEN
- WHEN
- THEN
- public class SpringScenarioTest<GIVEN,WHEN,THEN>
extends com.tngtech.jgiven.junit.ScenarioTest<GIVEN,WHEN,THEN>
implements org.springframework.beans.factory.BeanFactoryAware
SpringScenarioExecutor
based JGiven tests.
Needs to be used with the SpringJUnit4ClassRunner
.
As a JUnit-rule based alternative, consider using SpringRuleScenarioTest
.Constructor and Description |
---|
SpringScenarioTest() |
Modifier and Type | Method and Description |
---|---|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |