- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
TestReportercan be injected into
@AfterEachlifecycle methods as well as methods annotated with
Within such methods the injected
TestReporter can be used to
publish report entries for the current container or test to the
Method SummaryModifier and TypeMethodDescription
String value)(Publish the supplied value as a report entry.
default voidPublish the supplied key-value pair as a report entry.
voidPublish the supplied map of key-value pairs as a report entry.
publishEntryPublish the supplied map of key-value pairs as a report entry.
publishEntryPublish the supplied key-value pair as a report entry.
publishEntryPublish the supplied value as a report entry.
This method delegates to
publishEntry(String, String), supplying
"value"as the key and the supplied
valueargument as the value.