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
    Modifier and Type
    Optional Element
    Description
    The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
  • Element Details

    • value

      String value
      The 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:
      ""