Package org.springframework.test.context.web
@NullMarked
package org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.
-
ClassDescriptionAbstract, generic extension of
AbstractContextLoaderthat loads aGenericWebApplicationContext.Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from annotated classes.Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from Groovy scripts and XML configuration files.Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from XML resources.TestExecutionListenerwhich provides mock Servlet API support toWebApplicationContextsloaded by the Spring TestContext Framework.@WebAppConfigurationis an annotation that can be applied to a test class to declare that theApplicationContextloaded for an integration test should be aWebApplicationContext.WebDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlWebContextLoader(or aGenericGroovyXmlWebContextLoaderif Groovy is present on the classpath) and anAnnotationConfigWebContextLoader.WebMergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@WebAppConfiguration,@ActiveProfiles, and@TestPropertySource.Web-specific implementation of theTestContextBootstrapperSPI.