程序包的使用
org.springframework.test.context.web
使用org.springframework.test.context.web的程序包 程序包 说明 org.springframework.test.context.junit.jupiter.web Web support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.org.springframework.test.context.web Web support classes for the Spring TestContext Framework.org.springframework.test.context.junit.jupiter.web使用的org.springframework.test.context.web中的类 类 说明 WebAppConfiguration @WebAppConfigurationis a class-level annotation that is used to declare that theApplicationContextloaded for an integration test should be aWebApplicationContext.org.springframework.test.context.web使用的org.springframework.test.context.web中的类 类 说明 AbstractGenericWebContextLoader Abstract, generic extension ofAbstractContextLoaderthat loads aGenericWebApplicationContext.GenericXmlWebContextLoader Concrete implementation ofAbstractGenericWebContextLoaderthat loads bean definitions from XML resources.WebMergedContextConfiguration WebMergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses via@ContextConfiguration,@WebAppConfiguration, and@ActiveProfiles.