Support JUnit platform reporting entries #4605
When a failing test also publishes report entries, those should be displayed.
The junit platform
Nothing is shown.
IntelliJ, Eclipse, Maven and the junit-platform-gradle-plugin actually report the entries.
Those entries usually give important additional information to interpret test results.
Steps to Reproduce (for bugs)
Running the following test through gradle should not only report a failure but also something
OSX, Java 8, Gradle 4.6
The text was updated successfully, but these errors were encountered:
As mentioned on the #4716:
We should overhaul our test logging infrastructure holistically. We have already added display names, but only to the html report and console log. Now we are considering JUnit 5's reporting entries.
We should decide what things we want to support in a cross-cutting way (so that other test frameworks can be adapted to it). A display name makes a lot of sense. A
This information should be exposed to
@blindpirate before we continue here we should have a small design spec that addresses the above and proposes an API. We should make sure this API also makes sense for the native tests frameworks for instance.
We should not just add reporting entries as test output, because otherwise people might start depending on this implementation detail and try to parse that output. Then we'd be stuck if we wanted to change it to something more strongly modeled. Let's do some design first.
There's a simpler way for jqwik: https://jqwik.net/docs/current/user-guide.html#jqwik-configuration
If you set
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.