Package org.springframework.test.context.event.annotation
@NullMarked
package org.springframework.test.context.event.annotation
Test execution event annotations for the Spring TestContext Framework.
-
Annotation InterfacesClassDescription
@EventListenerannotation used to consume anAfterTestClassEventpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume anAfterTestExecutionEventpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume anAfterTestMethodEventpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume aBeforeTestClassEventpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume aBeforeTestExecutionpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume aBeforeTestMethodEventpublished by theEventPublishingTestExecutionListener.@EventListenerannotation used to consume aPrepareTestInstanceEventpublished by theEventPublishingTestExecutionListener.