Package org.junit.jupiter.api
Interface TestReporter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @API(status=STABLE, since="5.0") public interface TestReporter
Parameters of typeTestReporter
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.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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.
-