Annotation Interface BootstrapWith
@BootstrapWith defines class-level metadata that is used to determine
how to bootstrap the TestContext Framework.
This annotation may also be used as a meta-annotation to create
custom composed annotations. 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.
- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen
- 另请参阅:
-
可选元素概要
可选元素修饰符和类型可选元素说明Class<? extends TestContextBootstrapper>TheTestContextBootstrapperto use to bootstrap the Infra TestContext Framework.
-
元素详细资料
-
value
Class<? extends TestContextBootstrapper> valueTheTestContextBootstrapperto use to bootstrap the Infra TestContext Framework.- 默认值:
- cn.taketoday.test.context.TestContextBootstrapper.class
-