@API(status=EXPERIMENTAL,
since="1.3.2")
public interface Reporter
Reporting additional test information is a JUnit 5 platform feature. Some tools will output this information to stdout; other tools, e.g. Gradle as of version 6, ignore it. That's why jqwik prints this information to stdout itself unless told otherwise.
Modifier and Type | Method and Description |
---|---|
void |
publishReport(java.lang.String key,
java.lang.Object object)
Publish a report about
object under a given key . |
void |
publishReports(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> objects)
Publish reports about
objects under a given key . |
void |
publishValue(java.lang.String key,
java.lang.String value)
Publish some
value under a given key . |
void publishValue(java.lang.String key, java.lang.String value)
value
under a given key
.key
- a Stringvalue
- a Stringvoid publishReport(java.lang.String key, java.lang.Object object)
object
under a given key
.
This uses the same mechanism used for jqwik's failure reporting.
key
- a Stringobject
- any objectvoid publishReports(java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> objects)
objects
under a given key
.
This uses the same mechanism used for jqwik's failure reporting.
key
- a Stringobjects
- a map of objects the key of which is used to enumerate them