Uses of Annotation Interface
org.springframework.test.context.ContextConfiguration
Package
Description
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.
Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
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
ModifierConstructorDescriptionContextConfigurationAttributes
(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
Modifier and TypeClassDescription@interface
@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
Modifier and TypeClassDescription@interface
@SpringJUnitWebConfig
is a composed annotation that combines@ExtendWith(SpringExtension.class)
from JUnit Jupiter with@ContextConfiguration
and@WebAppConfiguration
from the Spring TestContext Framework.