'Karate test summary report in xml
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
