Class JupiterThrowableCollectorFactory


  • @API(status=INTERNAL,
         since="5.4")
    public class JupiterThrowableCollectorFactory
    extends java.lang.Object
    Factory for creating ThrowableCollectors within the JUnit Jupiter test engine.
    Since:
    5.4
    See Also:
    ThrowableCollector
    • Constructor Detail

      • JupiterThrowableCollectorFactory

        public JupiterThrowableCollectorFactory()
    • Method Detail

      • createThrowableCollector

        public static ThrowableCollector createThrowableCollector()
        Create a new ThrowableCollector that treats instances of the OTA's TestAbortedException and JUnit 4's org.junit.AssumptionViolatedException as aborting.