Annotation Interface JGivenStage
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Component
@Scope("prototype")
public @interface JGivenStage
Annotation that marks a bean as JGiven Stage. This component will be in created in prototype scope
to ensure that each test run receives a fresh (empty) instance of the bean.
- Since:
- 0.8.0
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.- Returns:
- the suggested component name, if any
- Default:
- ""
-