Uses of Class
org.springframework.test.context.ContextConfiguration
Packages that use ContextConfiguration Package Description org.springframework.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.org.springframework.test.context.junit.jupiter Core support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.org.springframework.test.context.junit.jupiter.web Web support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.Uses of ContextConfiguration in org.springframework.test.context
Methods in org.springframework.test.context that return ContextConfiguration Modifier and Type Method Description ContextConfiguration[]
value()
A list of@ContextConfiguration
instances, each of which defines a level in the context hierarchy.Constructors in org.springframework.test.context with parameters of type ContextConfiguration Constructor Description ContextConfigurationAttributes(Class<?> declaringClass, ContextConfiguration contextConfiguration)
Construct a newContextConfigurationAttributes
instance for the supplied@ContextConfiguration
annotation and the test class that declared it.Uses of ContextConfiguration in org.springframework.test.context.junit.jupiter
Classes in org.springframework.test.context.junit.jupiter with annotations of type ContextConfiguration Modifier and Type Class Description interface
SpringJUnitConfig
@SpringJUnitConfig
is a composed annotation that combines@ExtendWith(SpringExtension.class)
from JUnit Jupiter with@ContextConfiguration
from the Spring TestContext Framework.Uses of ContextConfiguration in org.springframework.test.context.junit.jupiter.web
Classes in org.springframework.test.context.junit.jupiter.web with annotations of type ContextConfiguration Modifier and Type Class Description interface
SpringJUnitWebConfig
@SpringJUnitWebConfig
is a composed annotation that combines@ExtendWith(SpringExtension.class)
from JUnit Jupiter with@ContextConfiguration
and@WebAppConfiguration
from the Spring TestContext Framework.