Package org.springframework.boot.test.context
@NullMarked
package org.springframework.boot.test.context
Support for mapping annotation attribute values in the Spring
Environment.-
ClassDescriptionUtility class to find a class annotated with a particular annotation in a hierarchy.
ApplicationContextInitializerthat can be used with theContextConfiguration.initializers()to trigger loading ofConfigDatasuch as application.properties.TestURLClassLoaderthat can filter the classes and resources it can load.Filter to restrict the classes that can be loaded.Filter to restrict the resources that can be loaded.Filter to restrict the packages that can be loaded.Indicates that attributes from a test annotation should be mapped into a@PropertySource.Controls when mapping is skipped.Encapsulates the merged context configuration declared on a test class and all of its superclasses for a reactive web application.AContextLoaderthat can be used to test Spring Boot applications (those that normally startup usingSpringApplication).Annotation that can be specified on a test class that runs Spring Boot based tests.Enumeration of how the main method of the@SpringBootConfiguration-annotated class is used when creating and running theSpringApplicationunder test.An enumeration web environment modes.Entry point for AOT processing of a Spring Boot application's tests.TestContextBootstrapperfor Spring Boot.@Componentthat can be used when a bean is intended only for tests, and should be excluded from Spring Boot's component scanning.@Configurationthat can be used to define additional beans or customizations for a test.