@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 | Description |
---|---|---|
default void |
publishEntry(java.lang.String key,
java.lang.String value) |
|
void |
publishEntry(java.util.Map<java.lang.String,java.lang.String> values) |
Publish the supplied values as a report entry.
|