Closed Siddh010 closed 1 month ago
@Siddh010 sorry this is not clear at all, what are you asking for ?
We are able to generate Zephyr xml by adding below cucumber plugin code in Test Runner for Cucumber UI Automation @RunWith(Cucumber.class) @CucumberOptions(plugin = {"io.cucumber.zephyr.ZephyrXMLFormatter:target/zephyr.xml"}) More details about this plugin here https://github.com/SmartBear/cucumber-jvm-zephyr-xml
Since in Karate we are using Results results = Runner.path( ).. in Test Runner file. So is there any way to add "io.cucumber.zephyr.ZephyrXMLFormatter:target/zephyr.xml" plugin in Karate Runner.
@Siddh010 no there isn't. the ask sounds similar to this issue: https://github.com/karatelabs/karate/issues/1902
this is not a priority, and you are the first to ask for this - so the best option is for you or someone else to contribute. I'll leave this issue open for a while, if there is interest
note that it might be easy to add the integration yourself, refer: https://stackoverflow.com/a/54527955/143475
closing for now
Support Cucmber plugin option to generates JUnit XML with proprietary modifications to support Zephyr Please find details in below link https://github.com/SmartBear/cucumber-jvm-zephyr-xml