# Uses of Interface
org.springframework.test.context.TestExecutionListener

Packages that use TestExecutionListener
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.aot
Ahead-of-time (AOT) support for the Spring TestContext Framework.
org.springframework.test.context.bean.override
Support case-by-case Bean overriding in Spring tests.
org.springframework.test.context.bean.override.mockito
Bean overriding mechanism based on Mockito mocking and spying.
org.springframework.test.context.event
Test event support classes for the Spring TestContext Framework.
org.springframework.test.context.jdbc
JDBC support classes for the Spring TestContext Framework, including support for declarative SQL script execution via `@Sql`.
org.springframework.test.context.support
Support classes for the Spring TestContext Framework.
org.springframework.test.context.transaction
Transactional support classes for the Spring TestContext Framework.
org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.

## Uses of TestExecutionListener in org.springframework.test.context

Methods in org.springframework.test.context that return types with arguments of type TestExecutionListener
Modifier and Type
Method
Description
`List<TestExecutionListener>`
TestContextBootstrapper.`getTestExecutionListeners()`
Get a list of newly instantiated `TestExecutionListeners` for the test class in the `BootstrapContext` associated with this bootstrapper.
`final List<TestExecutionListener>`
TestContextManager.`getTestExecutionListeners()`
Get the current `TestExecutionListeners` registered for this `TestContextManager`.
Methods in org.springframework.test.context with parameters of type TestExecutionListener
Modifier and Type
Method
Description
`void`
TestContextManager.`registerTestExecutionListeners(TestExecutionListener... testExecutionListeners)`
Register the supplied array of `TestExecutionListeners` by appending them to the list of listeners used by this `TestContextManager`.
Method parameters in org.springframework.test.context with type arguments of type TestExecutionListener
Modifier and Type
Method
Description
`void`
TestContextManager.`registerTestExecutionListeners(List<TestExecutionListener> testExecutionListeners)`
Register the supplied list of `TestExecutionListeners` by appending them to the list of listeners used by this `TestContextManager`.

## Uses of TestExecutionListener in org.springframework.test.context.aot

Subinterfaces of TestExecutionListener in org.springframework.test.context.aot
Modifier and Type
Interface
Description
`interface`
`AotTestExecutionListener`
`AotTestExecutionListener` is an extension of the `TestExecutionListener` SPI that allows a listener to optionally provide ahead-of-time (AOT) support.

## Uses of TestExecutionListener in org.springframework.test.context.bean.override

Classes in org.springframework.test.context.bean.override that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`BeanOverrideTestExecutionListener`
`TestExecutionListener` that enables `@BeanOverride` support in tests, by injecting overridden beans in appropriate fields of the test instance.

## Uses of TestExecutionListener in org.springframework.test.context.bean.override.mockito

Classes in org.springframework.test.context.bean.override.mockito that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`MockitoResetTestExecutionListener`
`TestExecutionListener` that resets any mock beans that have been marked with a `MockReset`.

## Uses of TestExecutionListener in org.springframework.test.context.event

Classes in org.springframework.test.context.event that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`ApplicationEventsTestExecutionListener`
`TestExecutionListener` which provides support for `ApplicationEvents`.
`class`
`EventPublishingTestExecutionListener`
`TestExecutionListener` that publishes test execution events to the `ApplicationContext` for the currently executing test.

## Uses of TestExecutionListener in org.springframework.test.context.jdbc

Classes in org.springframework.test.context.jdbc that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`SqlScriptsTestExecutionListener`
`TestExecutionListener` that provides support for executing SQL `scripts` and inlined `statements` configured via the `@Sql` annotation.

## Uses of TestExecutionListener in org.springframework.test.context.support

Classes in org.springframework.test.context.support that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`AbstractDirtiesContextTestExecutionListener`
Abstract base class for `TestExecutionListener` implementations that provide support for marking the `ApplicationContext` associated with a test as dirty for both test classes and test methods annotated with the `@DirtiesContext` annotation.
`class`
`AbstractTestExecutionListener`
Abstract ordered implementation of the `TestExecutionListener` API.
`class`
`CommonCachesTestExecutionListener`
`TestExecutionListener` which makes sure that common caches are cleared once they are no longer required.
`class`
`DependencyInjectionTestExecutionListener`
`TestExecutionListener` which provides support for dependency injection and initialization of test instances.
`class`
`DirtiesContextBeforeModesTestExecutionListener`
`TestExecutionListener` which provides support for marking the `ApplicationContext` associated with a test as dirty for both test classes and test methods annotated with the `@DirtiesContext` annotation.
`class`
`DirtiesContextTestExecutionListener`
`TestExecutionListener` which provides support for marking the `ApplicationContext` associated with a test as dirty for both test classes and test methods annotated with the `@DirtiesContext` annotation.
Methods in org.springframework.test.context.support that return types with arguments of type TestExecutionListener
Modifier and Type
Method
Description
`protected List<TestExecutionListener>`
AbstractTestContextBootstrapper.`getDefaultTestExecutionListeners()`
Get the default `TestExecutionListeners` for this bootstrapper.
`final List<TestExecutionListener>`
AbstractTestContextBootstrapper.`getTestExecutionListeners()`

## Uses of TestExecutionListener in org.springframework.test.context.transaction

Classes in org.springframework.test.context.transaction that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`TransactionalTestExecutionListener`
`TestExecutionListener` that provides support for executing tests within test-managed transactions by honoring Spring's `@Transactional` annotation.

## Uses of TestExecutionListener in org.springframework.test.context.web

Classes in org.springframework.test.context.web that implement TestExecutionListener
Modifier and Type
Class
Description
`class`
`ServletTestExecutionListener`
`TestExecutionListener` which provides mock Servlet API support to `WebApplicationContexts` loaded by the Spring TestContext Framework.