Interface DefaultTestExecutionListenersPostProcessor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DefaultTestExecutionListenersPostProcessor
Callback interface trigger from SpringBootTestContextBootstrapper that can be used to post-process the list of default TestExecutionListeners to be used by a test. Can be used to add or remove existing listeners.
Since:
1.4.1
Author:
Phillip Webb
See Also:
  • Method Details

    • postProcessDefaultTestExecutionListeners

      List<TestExecutionListener> postProcessDefaultTestExecutionListeners(List<TestExecutionListener> listeners)
      Post process the list of default listeners to be used.
      Parameters:
      listeners - the source listeners
      Returns:
      the actual listeners that should be used
      Since:
      3.0.0