Skip navigation links
A B C D E F G I M O R S T 

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
 
ACTIVE_SPEC_NAME - Static variable in class io.micronaut.test.condition.TestActiveCondition
Deprecated.
afterClass(C) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed after the class is complete.
afterEach(C) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed after each test completes.
alignMocks(C, Object) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
AnnotationUtils - Class in io.micronaut.test.annotation
Common annotation utilities.
applicationContext - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 

B

beforeClass(C, Class<?>, MicronautTest) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Executed before tests within a class are run.
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.
begin() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
begin() - Method in class io.micronaut.test.transaction.CompositeTestTransactionInterceptor
Deprecated.
 
begin() - Method in class io.micronaut.test.transaction.spring.SpringTestTransactionInterceptor
 
begin() - Method in interface io.micronaut.test.transaction.TestTransactionInterceptor
Begin the transaction.

C

commit() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
commit() - Method in class io.micronaut.test.transaction.CompositeTestTransactionInterceptor
Deprecated.
 
commit() - Method in class io.micronaut.test.transaction.spring.SpringTestTransactionInterceptor
 
commit() - Method in interface io.micronaut.test.transaction.TestTransactionInterceptor
Commit the transaction.
CompositeTestTransactionInterceptor - Class in io.micronaut.test.transaction
Deprecated.
CompositeTestTransactionInterceptor(TestTransactionInterceptor...) - Constructor for class io.micronaut.test.transaction.CompositeTestTransactionInterceptor
Deprecated.
 

D

DISABLED_MESSAGE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 

E

embeddedApplication - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 

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.

G

get() - Method in interface io.micronaut.test.support.TestPropertyProvider
 
getProperties() - Method in interface io.micronaut.test.support.TestPropertyProvider
Allows dynamically providing properties for a test.

I

io.micronaut.test.annotation - package io.micronaut.test.annotation
 
io.micronaut.test.condition - package io.micronaut.test.condition
 
io.micronaut.test.extensions - package io.micronaut.test.extensions
 
io.micronaut.test.extensions.junit5 - package io.micronaut.test.extensions.junit5
 
io.micronaut.test.extensions.spock - package io.micronaut.test.extensions.spock
 
io.micronaut.test.support - package io.micronaut.test.support
 
io.micronaut.test.transaction - package io.micronaut.test.transaction
 
io.micronaut.test.transaction.spring - package io.micronaut.test.transaction.spring
 
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
Stub for the JUnit extension.
MicronautJunit5Extension - Class in io.micronaut.test.extensions.junit5
Extension for JUnit 5.
MicronautJunit5Extension() - Constructor for class io.micronaut.test.extensions.junit5.MicronautJunit5Extension
 
MicronautSpockExtension - Class in io.micronaut.test.extensions.spock
Stub for the Spock extension.
MicronautSpockExtension - Class in io.micronaut.test.extensions.spock
Extension for Spock.
MicronautSpockExtension() - Constructor for class io.micronaut.test.extensions.spock.MicronautSpockExtension
 
MicronautTest - Annotation Type in io.micronaut.test.annotation
Annotation that can be applied to any Spock spec to make it a Micronaut test.
MISCONFIGURED_MESSAGE - Static variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
MockBean - Annotation Type 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.

O

oldValues - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 

R

refreshScope - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
resolveTestProperties(C, MicronautTest, Map<String, Object>) - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Resolves any test properties.
rollback() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
 
rollback() - Method in class io.micronaut.test.transaction.CompositeTestTransactionInterceptor
Deprecated.
 
rollback() - Method in class io.micronaut.test.transaction.spring.SpringTestTransactionInterceptor
 
rollback() - Method in interface io.micronaut.test.transaction.TestTransactionInterceptor
Rollback the transaction.

S

specDefinition - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
SpringTestTransactionInterceptor - Class in io.micronaut.test.transaction.spring
Integrates Spring's transaction management if it is available.
SpringTestTransactionInterceptor(PlatformTransactionManager) - Constructor for class io.micronaut.test.transaction.spring.SpringTestTransactionInterceptor
 
startApplicationContext() - Method in class io.micronaut.test.extensions.AbstractMicronautExtension
Starts the application context.

T

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
 
testProperties - Variable in class io.micronaut.test.extensions.AbstractMicronautExtension
 
TestPropertyProvider - Interface in io.micronaut.test.support
Allows providing application properties dynamically from a test.
TestTransactionInterceptor - Interface in io.micronaut.test.transaction
Test interceptor interface for rolling back data access.
A B C D E F G I M O R S T 
Skip navigation links