@API(status=INTERNAL,
since="5.4")
public class JupiterThrowableCollectorFactory
extends java.lang.Object
ThrowableCollectors
within
the JUnit Jupiter test engine.ThrowableCollector
Constructor and Description |
---|
JupiterThrowableCollectorFactory() |
Modifier and Type | Method and Description |
---|---|
static ThrowableCollector |
createThrowableCollector()
Create a new
ThrowableCollector that treats instances of the
OTA's TestAbortedException and JUnit 4's
org.junit.AssumptionViolatedException as aborting. |
public static ThrowableCollector createThrowableCollector()
ThrowableCollector
that treats instances of the
OTA's TestAbortedException
and JUnit 4's
org.junit.AssumptionViolatedException
as aborting.