spring-framework / org.springframework.test.context / BootstrapWith

BootstrapWith

@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) @Inherited class BootstrapWith

@BootstrapWith defines class-level 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.

Author
Sam Brannen

Since
4.1

See Also
BootstrapContextTestContextBootstrapper

Constructors

<init>

BootstrapWith(value: KClass<out TestContextBootstrapper>)

@BootstrapWith defines class-level 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.

Properties

value

val value: KClass<out TestContextBootstrapper>

The TestContextBootstrapper to use to bootstrap the Spring TestContext Framework.