@CucumberOptions(features = "src/test/resources/features/xxxxxx/xxxxx.feature", tags = "@tag1", glue = { "com.xxxx.sfdc.opportunities.stepdefinitions" }, format = { "pretty", "html:target/cucumber-reports/cucumber-pretty", "json:target/cucumber-reports/CucumberTestReport.json" })
The above is my cucumber options which is using testng as runner by extending AbstractTestNGCucumberTests. I am calling this feature file via testng xml which runs the same feature file for 4 different users.
So the cucumber report json file is overridden for every run. How can I avoid this and get the report for every run (for every single user)