@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE,TYPE}) @ExtendWith(value=MicronautJunit5Extension.class) @Factory @Inherited @Requires(condition=TestActiveCondition.class) public @interface MicronautTest
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
application |
java.lang.String[] |
environments |
java.lang.String[] |
packages |
java.lang.String[] |
propertySources
One or many references to classpath.
|
boolean |
rebuildContext
Whether to rebuild the application context before each test method.
|
boolean |
rollback
Whether to rollback (if possible) any data access code between each test execution.
|
boolean |
transactional
Allow disabling or enabling of automatic transaction wrapping.
|
public abstract java.lang.Class<?> application
public abstract java.lang.String[] environments
public abstract java.lang.String[] packages
public abstract java.lang.String[] propertySources
public abstract boolean rollback