@FunctionalInterface @API(status=STABLE, since="5.0") public interface TestReporter
TestReporter
can be injected into methods of
test classes annotated with @BeforeEach
,
@AfterEach
, and @Test
.
Within such methods this instance of type TestReporter
can be
used to publish report entries.
Modifier and Type | Method and Description |
---|---|
void |
publishEntry(Map<String,String> values)
Publish the supplied values as a report entry.
|
default void |
publishEntry(String key,
String value) |