public class SpringStageCreator
extends com.tngtech.jgiven.impl.DefaultStageCreator
Sample Configuration:
@Bean @Scope("prototype") public SpringStageCreator springScenarioExecutor() { return new SpringStageCreator(); }
The SpringStageCreator is stateful, and thus should use "prototype" scope
Constructor and Description |
---|
SpringStageCreator() |
Modifier and Type | Method and Description |
---|---|
<T> T |
createStage(java.lang.Class<T> stageClass,
com.tngtech.jgiven.impl.intercept.StepInterceptor stepInterceptor) |
public <T> T createStage(java.lang.Class<T> stageClass, com.tngtech.jgiven.impl.intercept.StepInterceptor stepInterceptor)
createStage
in interface com.tngtech.jgiven.impl.StageCreator
createStage
in class com.tngtech.jgiven.impl.DefaultStageCreator