I'm trying to generate the JUnit style test report in xml format, but I'm not getting a summary report in xml, instead I'm getting xml reports for each test case. Also I'm getting a summary report for all the test cases in html and json format. I'm using JUnit5 and the following code in my Runner class:
@Test
void testParallel() {
Results results = Runner.path("classpath:myProject/features").tags("regression").reportDir("classpath:target/xml")
.outputJunitXml(true)
.tags("~@ignore").parallel(5);
}
}
Please correct me if I'm missing anything here.