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.
|
org.junit.platform.reporting.legacy.xml |
Support for generating XML reports using a format which is compatible with
the de facto standard for JUnit 4 based test reports that was made popular
by the Ant build system.
|
Modifier and Type | Method and Description |
---|---|
void |
EngineExecutionListener.reportingEntryPublished(TestDescriptor testDescriptor,
ReportEntry entry)
Can be called for any
TestDescriptor in order to publish additional
information to the reporting infrastructure — for example:
Output that would otherwise go to System.out
Information about test context or test data
|
Modifier and Type | Method and Description |
---|---|
static ReportEntry |
ReportEntry.from(Map<String,String> keyValuePairs)
Factory for creating a new
ReportEntry from a map of key-value pairs. |
static ReportEntry |
ReportEntry.from(String key,
String value)
Factory for creating a new
ReportEntry from a key-value pair. |
Modifier and Type | Method and Description |
---|---|
default void |
TestExecutionListener.reportingEntryPublished(TestIdentifier testIdentifier,
ReportEntry entry)
Called when additional test reporting data has been published for
the supplied
TestIdentifier . |
Modifier and Type | Method and Description |
---|---|
void |
LegacyXmlReportGeneratingListener.reportingEntryPublished(TestIdentifier testIdentifier,
ReportEntry entry) |
Copyright © 2021. All rights reserved.