org.springframework.boot.test.context

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 TestExecutionListener classes to be used by a test. Can be used to add or remove existing listener classes.
    Since:
    1.4.1
    Author:
    Phillip Webb
    See Also:
    SpringBootTest