Repository navigation
Replies: 1 comment
|
Hi @rasmussl There is no built-in JUnit Jupiter option that maps each A If your reporting consumer supports it, the better current option is Open Test Reporting, because it preserves JUnit's hierarchical test structure: junit.platform.reporting.open.xml.enabled=true
junit.platform.reporting.output.dir=reportsIf you specifically need the legacy XML structure shown in the question, you would need to generate/customize the report yourself, for example with a Also note that if the XML file is actually being generated by Gradle, Maven Surefire, or another build tool rather than JUnit Platform's reporting listener, the exact XML grouping is controlled by that tool. In that case the customization has to happen there rather than through Please mark this answer as accepted if it helped, thank you. |
Uh oh!
There was an error while loading. Please reload this page.
Hi.
I'm looking for a way to have multiple
@TestFactory's inside one file (Kotlin) that would resolve in a test report file with atestsuiteelement per TestFactory.So something like this:
as a test report as a result of running this test file:
Is it at all possible? If so, then how do you do it?
All reactions