Package-level declarations

Classes and annotations related to configuring Spring's ApplicationContext for tests.

Types

Link copied to clipboard
Utility class to find a class annotated with a particular annotation in a hierarchy.
Link copied to clipboard
open class ConfigDataApplicationContextInitializer : ApplicationContextInitializer<C>
ApplicationContextInitializer that can be used with the initializers to trigger loading of ConfigData such as application.
Link copied to clipboard
open class FilteredClassLoader : URLClassLoader, SmartClassLoader
Test URLClassLoader that can filter the classes and resources it can load.
Link copied to clipboard
open class ReactiveWebMergedContextConfiguration : MergedContextConfiguration
Encapsulates the merged context configuration declared on a test class and all of its superclasses for a reactive web application.
Link copied to clipboard
open class SpringBootContextLoader : AbstractContextLoader, AotContextLoader
A ContextLoader that can be used to test Spring Boot applications (those that normally startup using SpringApplication).
Link copied to clipboard
@ExtendWith(value = SpringExtension::class)
annotation class SpringBootTest
Annotation that can be specified on a test class that runs Spring Boot based tests.
Link copied to clipboard
open class SpringBootTestAotProcessor : TestAotProcessor
Entry point for AOT processing of a Spring Boot application's tests.
Link copied to clipboard
open class SpringBootTestContextBootstrapper : DefaultTestContextBootstrapper
TestContextBootstrapper for Spring Boot.
Link copied to clipboard
@Component that can be used when a bean is intended only for tests, and should be excluded from Spring Boot's component scanning.
Link copied to clipboard
@Configuration that can be used to define additional beans or customizations for a test.