Annotation Interface BootstrapWith
@BootstrapWith is an annotation that can be applied to a test class
to define metadata that is used to determine how to bootstrap the
Spring testContext Framework.
This annotation may also be used as a meta-annotation to create
custom composed annotations. Note, however, that a locally
declared @BootstrapWith annotation (i.e., one that is directly
present on the current test class) will override any meta-present
declarations of @BootstrapWith.
This annotation will be inherited from an enclosing test class by default.
See @NestedtestConfiguration for details.
- Since:
- 4.1
- Author:
- Sam Brannen
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends testContextBootstrapper> ThetestContextBootstrapperto use to bootstrap the Spring testContext Framework.
-
Element Details
-
value
Class<? extends testContextBootstrapper> valueThetestContextBootstrapperto use to bootstrap the Spring testContext Framework.- Default:
org.springframework.test.context.testContextBootstrapper.class
-