# Uses of Annotation Interface
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

Constructors in org.springframework.test.context with parameters of type ContextConfiguration
Modifier
Constructor
Description
``
`ContextConfigurationAttributes(Class<?> declaringClass, ContextConfiguration contextConfiguration)`
Construct a new `ContextConfigurationAttributes` 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.