Package org.springframework.test.context.event.annotation
@NullMarked
package org.springframework.test.context.event.annotation
Test execution event annotations for the Spring TestContext Framework.
-
ClassDescription
@EventListener
annotation used to consume anAfterTestClassEvent
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume anAfterTestExecutionEvent
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume anAfterTestMethodEvent
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume aBeforeTestClassEvent
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume aBeforeTestExecution
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume aBeforeTestMethodEvent
published by theEventPublishingTestExecutionListener
.@EventListener
annotation used to consume aPrepareTestInstanceEvent
published by theEventPublishingTestExecutionListener
.