io.micronaut.test.extensions.junit5.annotation.MicronautTest, etc)
@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE,TYPE}) @ExtendWith(value=MicronautJunit5ExtensionStub.class) @Factory @Inherited @Requires(condition=TestActiveCondition.class) @Deprecated public @interface MicronautTest
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
application
Deprecated.
|
java.lang.Class<? extends io.micronaut.context.ApplicationContextBuilder>[] |
contextBuilder
Deprecated.
The application context builder to use to construct the context.
|
java.lang.String[] |
environments
Deprecated.
|
java.lang.String[] |
packages
Deprecated.
|
java.lang.String[] |
propertySources
Deprecated.
One or many references to classpath.
|
boolean |
rebuildContext
Deprecated.
Whether to rebuild the application context before each test method.
|
boolean |
rollback
Deprecated.
Whether to rollback (if possible) any data access code between each test execution.
|
boolean |
startApplication
Deprecated.
Whether to start
EmbeddedApplication . |
boolean |
transactional
Deprecated.
Allow disabling or enabling of automatic transaction wrapping.
|
TransactionMode |
transactionMode
Deprecated.
The transaction mode describing how transactions should be handled for each test.
|
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
public abstract boolean transactional
public abstract TransactionMode transactionMode
public abstract boolean rebuildContext