|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface BootstrapTest
Defines a test class which should be loaded and run at the start of a suite of tests.
This annotation should be applied to a class which uses the LoadTimeWeavableTestRunner
which will load
and execute the specified bootstrap test.
Usually, this is used for one-time initialization for the test suite. It also helps to get around issues of eager classloading of JPA entities before their ClassFileTransformers can be registered for load-time weaving.
The test class referenced must have at least one Test
Required Element Summary | |
---|---|
Class<?> |
value
|
Element Detail |
---|
public abstract Class<?> value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |