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.
|
Constructor and Description |
---|
ContextConfigurationAttributes(Class<?> declaringClass,
ContextConfiguration contextConfiguration)
Construct a new
ContextConfigurationAttributes instance for the
supplied @ContextConfiguration annotation and
the test class that declared it. |
Modifier and Type | Class and Description |
---|---|
interface |
SpringJUnitConfig
@SpringJUnitConfig is a composed annotation that combines
@ExtendWith(SpringExtension.class) from JUnit Jupiter with
@ContextConfiguration from the Spring TestContext
Framework. |
Modifier and Type | Class and 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. |