Package | Description |
---|---|
org.junit.platform.engine |
Public API for test engines.
|
org.junit.platform.engine.reporting |
Classes used by test engines to report additional data to execution
listeners.
|
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
Modifier and Type | Method | Description |
---|---|---|
void |
EngineExecutionListener.reportingEntryPublished(TestDescriptor testDescriptor,
ReportEntry entry) |
Can be called for any
testDescriptor in order to publish additional information, e.g.:
Output that would otherwise go to System.out
Information about test context or test data
|
Modifier and Type | Method | Description |
---|---|---|
static ReportEntry |
ReportEntry.from(java.lang.String key,
java.lang.String value) |
Factory for creating a new
ReportEntry from a key-value pair. |
static ReportEntry |
ReportEntry.from(java.util.Map<java.lang.String,java.lang.String> keyValuePairs) |
Factory for creating a new
ReportEntry from a map of key-value pairs. |
Modifier and Type | Method | Description |
---|---|---|
default void |
TestExecutionListener.reportingEntryPublished(TestIdentifier testIdentifier,
ReportEntry entry) |
Called when additional test reporting data has been published for
the supplied
TestIdentifier . |