# Uses of Class
org.springframework.test.context.event.TestContextEvent

Packages that use TestContextEvent
Package
Description
org.springframework.test.context.event
Test event support classes for the Spring TestContext Framework.

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

Subclasses of TestContextEvent in org.springframework.test.context.event
Modifier and Type
Class
Description
`class`
`AfterTestClassEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.afterTestClass(TestContext)` is invoked.
`class`
`AfterTestExecutionEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.afterTestExecution(TestContext)` is invoked.
`class`
`AfterTestMethodEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.afterTestMethod(TestContext)` is invoked.
`class`
`BeforeTestClassEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.beforeTestClass(TestContext)` is invoked.
`class`
`BeforeTestExecutionEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.beforeTestExecution(TestContext)` is invoked.
`class`
`BeforeTestMethodEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.beforeTestMethod(TestContext)` is invoked.
`class`
`PrepareTestInstanceEvent`
`TestContextEvent` published by the `EventPublishingTestExecutionListener` when `TestExecutionListener.prepareTestInstance(TestContext)` is invoked.