Annotation Interface TestExecutionListeners


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface TestExecutionListeners
TestExecutionListeners defines class-level metadata for configuring which TestExecutionListeners should be registered with a TestContextManager.

Typically, @TestExecutionListeners will be used in conjunction with @ContextConfiguration.

This annotation may be used as a meta-annotation to create custom composed annotations.

As of Spring Framework 5.3, this annotation will be inherited from an enclosing test class by default. See @NestedTestConfiguration for details.

Since:
2.5
Author:
Sam Brannen
See Also: