Class EachTestNotifierProvider


  • @Component("tapirEachTestNotifierProvider")
    public class EachTestNotifierProvider
    extends java.lang.Object
    Provides an optional EachTestNotifier for a given ExecutionModelElement. The notifiers are cached.
    Since:
    2.0.0
    • Constructor Detail

      • EachTestNotifierProvider

        public EachTestNotifierProvider()
    • Method Detail

      • getNotifier

        public java.util.Optional<org.junit.internal.runners.model.EachTestNotifier> getNotifier​(ExecutionModelElement executionModelElement)
        Returns an optional EachTestNotifier for a given ExecutionModelElement. The Optional is empty, if the tapir execution is not launched by TapirJUnitBootstrapper.
        Parameters:
        executionModelElement - the executionModelElement
        Returns:
        the optional EachTestNotifier