Index

A B C D E F G H I M N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractMicronautExtension<C> - Class in io.micronaut.test.extensions
Abstract base class for both JUnit 5 and Spock.
AbstractMicronautExtension() - Constructor for class io.micronaut.test.extensions.AbstractMicronautExtension
 
ACTIVE_MOCKS - Static variable in class io.micronaut.test.condition.TestActiveCondition
 
ACTIVE_SPEC_CLAZZ - Static variable in class io.micronaut.test.condition.TestActiveCondition
 
AFTER_ALL - Enum constant in enum class io.micronaut.test.annotation.Sql.Phase
Execute the SQL after all tests.
AFTER_EACH - Enum constant in enum class io.micronaut.test.annotation.Sql.Phase
Execute the SQL after each test.
afterAll(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
afterClass(C) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed after the class is complete.
afterCleanupTest(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed after the setup method of a test method.
afterCleanupTest(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
afterEach(C) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed after each test completes.
afterEach(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
afterSetupTest(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed after the setup method of a test method.
afterSetupTest(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
afterTestClass(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed after all of the tests of a class have bean executed.
afterTestClass(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
afterTestExecution(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed after a single test iteration has been executed .
afterTestExecution(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
afterTestExecution(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
afterTestMethod(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed after a test method has been executed (a test method may contain multiple iterations).
afterTestMethod(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
alignMocks(C, Object) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
alignMocks(ExtensionContext, Object) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
alignMocks(IMethodInvocation, Object) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
AnnotationUtils - Class in io.micronaut.test.annotation
Common annotation utilities.
application() - Method in class io.micronaut.test.annotation.MicronautTestValue
 
application() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
 
application() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
 
applicationContext - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 

B

bean() - Element in annotation interface io.micronaut.test.annotation.MockBean
 
BEFORE_ALL - Enum constant in enum class io.micronaut.test.annotation.Sql.Phase
Execute the SQL before all tests.
BEFORE_EACH - Enum constant in enum class io.micronaut.test.annotation.Sql.Phase
Execute the SQL before each test.
beforeAll(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
beforeClass(C, Class<?>, MicronautTestValue) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed before tests within a class are run.
beforeCleanupTest(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed before the setup method of a test method.
beforeCleanupTest(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
beforeEach(C, Object, AnnotatedElement, List<Property>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
To be called by the different implementations before each test method.
beforeEach(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
beforeSetupTest(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed before the setup method of a test method.
beforeSetupTest(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
beforeTestClass(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed before all of the tests of a class are executed.
beforeTestClass(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
beforeTestExecution(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed before a single test iteration is executed.
beforeTestExecution(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
beforeTestExecution(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
beforeTestMethod(TestContext) - Method in interface io.micronaut.test.context.TestExecutionListener
Executed before a test method is executed (a test method may contain multiple iterations).
beforeTestMethod(TestContext) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
buildMicronautTestValue(Class<?>) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
Builds a MicronautTestValue object from the provided class (e.g.

C

checkThresholds(long) - Method in class io.micronaut.test.typepollution.ThresholdFocusListener
Check whether the number of focus events exceeded the given threshold for any concrete class.
ConnectionFactoryHandler - Class in io.micronaut.test.support.sql
Handler for r2dbc ConnectionFactory instances.
ConnectionFactoryHandler() - Constructor for class io.micronaut.test.support.sql.ConnectionFactoryHandler
 
contextBuilder() - Method in class io.micronaut.test.annotation.MicronautTestValue
The application context builder to use to construct the context.
contextBuilder() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
The application context builder to use to construct the context.
contextBuilder() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
The application context builder to use to construct the context.
create() - Static method in class io.micronaut.test.typepollution.TypePollutionTransformer
Create a new instance of this transformer.
create(Map<String, Object>, Class<?>) - Method in interface io.micronaut.test.support.TestPropertyProviderFactory
Creates a new test property provider.

D

dataSourceName() - Element in annotation interface io.micronaut.test.annotation.Sql
The name of the datasource to use for the SQL scripts.
DataSourceSqlHandler - Class in io.micronaut.test.support.sql
Handler for raw DataSource instances.
DataSourceSqlHandler() - Constructor for class io.micronaut.test.support.sql.DataSourceSqlHandler
 
DelegatingDataSourceSqlHandler - Class in io.micronaut.test.support.sql
Handler for DataSource instances which may be a DelegatingDataSource.
DelegatingDataSourceSqlHandler() - Constructor for class io.micronaut.test.support.sql.DelegatingDataSourceSqlHandler
 
DISABLED_MESSAGE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
dynamicTypeCheck(MethodHandles.Lookup, String, MethodType) - Static method in class io.micronaut.test.typepollution.HookBootstrap
Called on successful type check in scenarios where the interface type is not statically known, i.e.
dynamicTypeCheckCast(MethodHandles.Lookup, String, MethodType) - Static method in class io.micronaut.test.typepollution.HookBootstrap
Called on successful type check for Class.cast(Object).

E

embeddedApplication - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
environments() - Method in class io.micronaut.test.annotation.MicronautTestValue
 
environments() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
 
environments() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
 
evaluateExecutionCondition(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 

F

findRepeatableAnnotations(AnnotatedElement, Class<A>) - Static method in class io.micronaut.test.annotation.AnnotationUtils
Find all repeatable annotations of annotationType that are either present, indirectly present, or meta-present on the supplied AnnotatedElement.
FocusListener - Interface in io.micronaut.test.typepollution
Public listener for responding to focus events.

G

get() - Method in interface io.micronaut.test.support.TestPropertyProvider
 
getApplicationConfiguration() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getApplicationConfiguration() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getApplicationContext() - Method in class io.micronaut.test.context.TestContext
 
getApplicationContext() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getApplicationContext() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getHost() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getHost() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getPort() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getPort() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getProperties() - Method in interface io.micronaut.test.support.TestPropertyProvider
Allows dynamically providing properties for a test.
getScheme() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getScheme() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getStore(ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
getTestClass() - Method in class io.micronaut.test.context.TestContext
 
getTestContext() - Method in interface io.micronaut.test.context.TestMethodInvocationContext
 
getTestException() - Method in class io.micronaut.test.context.TestContext
 
getTestInstance() - Method in class io.micronaut.test.context.TestContext
 
getTestMethod() - Method in class io.micronaut.test.context.TestContext
 
getTestName() - Method in class io.micronaut.test.context.TestContext
 
getURI() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getURI() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
getURL() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
getURL() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 

H

handle(ConnectionFactory, String) - Method in class io.micronaut.test.support.sql.ConnectionFactoryHandler
 
handle(DataSource, String) - Method in class io.micronaut.test.support.sql.DataSourceSqlHandler
 
handle(DataSource, String) - Method in class io.micronaut.test.support.sql.DelegatingDataSourceSqlHandler
 
handle(BeanDefinition<?>, ApplicationContext, Sql.Phase) - Static method in class io.micronaut.test.support.sql.TestSqlAnnotationHandler
Given a spec definition and application context, find and process all Sql annotations.
handle(T, String) - Method in interface io.micronaut.test.support.sql.SqlHandler
Given a data source and SQL, execute the SQL.
hasExpectedAnnotations(Class<?>) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
hasInterceptors() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
HookBootstrap - Class in io.micronaut.test.typepollution
Method handle bootstrap used by generated code to call into the ConcreteCounter.

I

install(Instrumentation) - Static method in class io.micronaut.test.typepollution.TypePollutionTransformer
Install this transformer into the given Instrumentation.
interceptAfterEach(TestMethodInvocationContext<Object>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
interceptAfterEach(TestMethodInvocationContext<R>) - Method in interface io.micronaut.test.context.TestMethodInterceptor
Intercepts after each test invocation.
interceptAfterEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
interceptBeforeEach(TestMethodInvocationContext<Object>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
interceptBeforeEach(TestMethodInvocationContext<R>) - Method in interface io.micronaut.test.context.TestMethodInterceptor
Intercepts before each test invocation.
interceptBeforeEachMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
interceptTest(TestMethodInvocationContext<Object>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
interceptTest(TestMethodInvocationContext<R>) - Method in interface io.micronaut.test.context.TestMethodInterceptor
Intercepts each test invocation.
interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
io.micronaut.test.annotation - package io.micronaut.test.annotation
 
io.micronaut.test.condition - package io.micronaut.test.condition
 
io.micronaut.test.context - package io.micronaut.test.context
 
io.micronaut.test.extensions - package io.micronaut.test.extensions
 
io.micronaut.test.extensions.junit5 - package io.micronaut.test.extensions.junit5
 
io.micronaut.test.extensions.junit5.annotation - package io.micronaut.test.extensions.junit5.annotation
 
io.micronaut.test.extensions.spock - package io.micronaut.test.extensions.spock
 
io.micronaut.test.extensions.spock.annotation - package io.micronaut.test.extensions.spock.annotation
 
io.micronaut.test.rest.assured - package io.micronaut.test.rest.assured
 
io.micronaut.test.support - package io.micronaut.test.support
 
io.micronaut.test.support.server - package io.micronaut.test.support.server
 
io.micronaut.test.support.sql - package io.micronaut.test.support.sql
 
io.micronaut.test.typepollution - package io.micronaut.test.typepollution
 
isResolveParameters() - Method in class io.micronaut.test.annotation.MicronautTestValue
 
isRunning() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
isRunning() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
isServer() - Method in class io.micronaut.test.support.server.TestEmbeddedServer
 
isSupportsTestMethodInterceptors() - Method in class io.micronaut.test.context.TestContext
 
isTestSuiteBeanPresent(Class<?>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 

M

matches(ConditionContext) - Method in class io.micronaut.test.condition.TestActiveCondition
 
MicronautJunit5Extension - Class in io.micronaut.test.extensions.junit5
Extension for JUnit 5.
MicronautJunit5Extension() - Constructor for class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
MicronautSpockExtension<T extends Annotation> - Class in io.micronaut.test.extensions.spock
Extension for Spock.
MicronautSpockExtension() - Constructor for class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
MicronautTest - Annotation Interface in io.micronaut.test.extensions.junit5.annotation
Annotation that can be applied to any JUnit 5 test to make it a Micronaut test.
MicronautTest - Annotation Interface in io.micronaut.test.extensions.spock.annotation
Annotation that can be applied to any Spock spec or JUnit 5 test to make it a Micronaut test.
MicronautTestValue - Class in io.micronaut.test.annotation
Value object for the values from any of the MicronautTest annotations.
MicronautTestValue(Class<?>, String[], String[], String[], boolean, boolean, boolean, Class<? extends ApplicationContextBuilder>[], TransactionMode, boolean, boolean) - Constructor for class io.micronaut.test.annotation.MicronautTestValue
Default constructor.
MISCONFIGURED_MESSAGE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
MockBean - Annotation Interface in io.micronaut.test.annotation
Annotation that can be applied on the method level in a test to define a Mock bean using Spock's mocking API.

N

named() - Element in annotation interface io.micronaut.test.annotation.MockBean
The name of the bean to replace in the case of multiple beans.

O

oldValues - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
onFocus(Class<?>, Class<?>) - Method in interface io.micronaut.test.typepollution.FocusListener
Called on every focus event, potentially concurrently.
onFocus(Class<?>, Class<?>) - Method in class io.micronaut.test.typepollution.ThresholdFocusListener
 

P

packages() - Method in class io.micronaut.test.annotation.MicronautTestValue
 
packages() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
 
packages() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
 
phase() - Element in annotation interface io.micronaut.test.annotation.Sql
The phase of the test to execute the SQL scripts.
postProcessBuilder(ApplicationContextBuilder) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Allows subclasses to customize the builder right before context initialization.
proceed() - Method in interface io.micronaut.test.context.TestMethodInvocationContext
Proceed with the method invocation.
PROPERTY - Static variable in class io.micronaut.test.support.server.TestEmbeddedServer
 
PROPERTY - Static variable in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
propertySources() - Method in class io.micronaut.test.annotation.MicronautTestValue
One or many references to classpath.
propertySources() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
One or many references to classpath.
propertySources() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
One or many references to classpath.

R

rebuildContext() - Method in class io.micronaut.test.annotation.MicronautTestValue
Whether to rebuild the application context before each test method.
rebuildContext() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
Whether to rebuild the application context before each test method.
rebuildContext() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
Whether to rebuild the application context before each test method.
refreshScope - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
RequestSpecificationFactory - Class in io.micronaut.test.rest.assured
Helper class making it easier to create request specifications.
RequestSpecificationFactory() - Constructor for class io.micronaut.test.rest.assured.RequestSpecificationFactory
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
resolveParameters() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
By default, with JUnit 5 the test method parameters will be resolved to beans if possible.
resolveTestProperties(C, MicronautTestValue, Map<String, Object>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Resolves any test properties.
resolveTestProperties(ExtensionContext, MicronautTestValue, Map<String, Object>) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
resolveTestProperties(IMethodInvocation, MicronautTestValue, Map<String, Object>) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
resourceType() - Element in annotation interface io.micronaut.test.annotation.Sql
 
rollback() - Method in class io.micronaut.test.annotation.MicronautTestValue
Whether to rollback (if possible) any data access code between each test execution.
rollback() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
Whether to rollback (if possible) any data access code between each test execution.
rollback() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
Whether to rollback (if possible) any data access code between each test execution.

S

scripts() - Element in annotation interface io.micronaut.test.annotation.Sql
Scripts to execute, e.g.
SEPARATE_TRANSACTIONS - Enum constant in enum class io.micronaut.test.annotation.TransactionMode
Each setup/cleanup method is wrapped in its own transaction, separate from that of the test.
setFocusListener(FocusListener) - Static method in interface io.micronaut.test.typepollution.FocusListener
Set the global focus listener, or null to disable listening for focus events.
SINGLE_TRANSACTION - Enum constant in enum class io.micronaut.test.annotation.TransactionMode
All setup methods are wrapped in the same transaction as the test.
specDefinition - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
Sql - Annotation Interface in io.micronaut.test.annotation
Annotation that can be applied to a test scenario to execute SQL against a test database prior to the sceario being run.
Sql.Phase - Enum Class in io.micronaut.test.annotation
The phase of the test to execute the SQL scripts.
Sql.Sqls - Annotation Interface in io.micronaut.test.annotation
Wrapper annotation class to allow multiple Sql annotations per test class or method.
SqlAnnotationHandlingException - Exception in io.micronaut.test.support.sql
Exception thrown when an error occurs handling an Sql annotation.
SqlAnnotationHandlingException(Exception) - Constructor for exception io.micronaut.test.support.sql.SqlAnnotationHandlingException
 
SqlHandler<T> - Interface in io.micronaut.test.support.sql
Interface for handling Sql annotation for different data sources.
start() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
startApplication() - Method in class io.micronaut.test.annotation.MicronautTestValue
 
startApplication() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
Whether to start EmbeddedApplication.
startApplication() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
Whether to start EmbeddedApplication.
startApplicationContext() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Starts the application context.
startApplicationContext() - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
staticTypeCheck(MethodHandles.Lookup, String, MethodType, Class<?>) - Static method in class io.micronaut.test.typepollution.HookBootstrap
Called on successful type check in scenarios where the interface type is statically known, i.e.
stop() - Method in class io.micronaut.test.support.server.TestExecutableEmbeddedServer
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 

T

TEST_PROPERTY_SOURCE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
The name of the property source that contains test properties.
TEST_ROLLBACK - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TEST_TRANSACTION_MODE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TEST_TRANSACTIONAL - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TestActiveCondition - Class in io.micronaut.test.condition
A custom Condition that enables inner classes and MockBean instances only for the scope of the test.
TestActiveCondition() - Constructor for class io.micronaut.test.condition.TestActiveCondition
 
testAnnotationValue - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TestContext - Class in io.micronaut.test.context
Test context used by TestExecutionListeners.
TestContext(ApplicationContext, Class<?>, AnnotatedElement, Object, Throwable, String, boolean) - Constructor for class io.micronaut.test.context.TestContext
 
TestEmbeddedServer - Class in io.micronaut.test.support.server
An EmbeddedServer implementation that can be enabled by setting micronaut.test.server.url to run tests against and existing running server.
TestEmbeddedServer(URL, ApplicationConfiguration, ApplicationContext) - Constructor for class io.micronaut.test.support.server.TestEmbeddedServer
Default constructor.
TestExecutableEmbeddedServer - Class in io.micronaut.test.support.server
An EmbeddedServer implementation that runs an external executable JAR or native.
TestExecutableEmbeddedServer(String, ApplicationContext, HttpServerConfiguration) - Constructor for class io.micronaut.test.support.server.TestExecutableEmbeddedServer
Default constructor.
TestExecutionListener - Interface in io.micronaut.test.context
Test execution listener.
TestMethodInterceptor<R> - Interface in io.micronaut.test.context
Test method interceptor.
TestMethodInvocationContext<R> - Interface in io.micronaut.test.context
The test method invocation context.
testProperties - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TestPropertyProvider - Interface in io.micronaut.test.support
Allows providing application properties dynamically from a test.
TestPropertyProviderFactory - Interface in io.micronaut.test.support
A test property provider factory is responsible for generating a test property provider which is going to be called during test setup, as any other TestPropertyProvider.
TestSqlAnnotationHandler - Class in io.micronaut.test.support.sql
Static helper class to handle Sql annotations.
ThresholdFocusListener - Class in io.micronaut.test.typepollution
FocusListener implementation that counts and tracks all focus events, including stack traces.
ThresholdFocusListener() - Constructor for class io.micronaut.test.typepollution.ThresholdFocusListener
 
transactional() - Method in class io.micronaut.test.annotation.MicronautTestValue
Allow disabling or enabling of automatic transaction wrapping.
transactional() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
Allow disabling or enabling of automatic transaction wrapping.
transactional() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
Allow disabling or enabling of automatic transaction wrapping.
transactionMode() - Method in class io.micronaut.test.annotation.MicronautTestValue
transactionMode() - Element in annotation interface io.micronaut.test.extensions.junit5.annotation.MicronautTest
The transaction mode describing how transactions should be handled for each test.
transactionMode() - Element in annotation interface io.micronaut.test.extensions.spock.annotation.MicronautTest
The transaction mode describing how transactions should be handled for each test.
TransactionMode - Enum Class in io.micronaut.test.annotation
Describes how transactions are handled for each test.
transform(DynamicType.Builder<?>, TypeDescription, ClassLoader, JavaModule, ProtectionDomain) - Method in class io.micronaut.test.typepollution.TypePollutionTransformer
 
TypePollutionTransformer - Class in io.micronaut.test.typepollution
AgentBuilder.Transformer implementation that installs the necessary hooks to call into the FocusListener.

V

value() - Element in annotation interface io.micronaut.test.annotation.MockBean
 
value() - Element in annotation interface io.micronaut.test.annotation.Sql.Sqls
 
value() - Element in annotation interface io.micronaut.test.annotation.Sql
 
valueOf(String) - Static method in enum class io.micronaut.test.annotation.Sql.Phase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.micronaut.test.annotation.TransactionMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.micronaut.test.annotation.Sql.Phase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.micronaut.test.annotation.TransactionMode
Returns an array containing the constants of this enum class, in the order they are declared.
visitFeatureAnnotation(T, FeatureInfo) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
visitFieldAnnotation(T, FieldInfo) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
visitFixtureAnnotation(T, MethodInfo) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
visitSpec(SpecInfo) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
visitSpecAnnotation(T, SpecInfo) - Method in class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
A B C D E F G H I M N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form