Add property tag into Junit report when running Cucumber tests #2199
kakarasiri
started this conversation in
General
Replies: 1 comment 6 replies
-
What do you mean by "adding a tag to a report"? Do you have a more detailed example? Your current example also doesn't seem to match the XSD so it wouldn't be a valid report. Perhaps you can show an example of another framework that produces the desired result? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add tag into junit report.
Is it possible for doing that ? or Is there any plugin that we can used ?
TestRunner.scala
@RunWith(classOf[Cucumber]) @CucumberOptions( features = Array("classpath:features/"), glue = Array("steps"), plugin = Array( "pretty", "html:target/test-reports/cucumber/cucumber.html", "json:target/test-reports/cucumber/cucumber.json", "junit:target/test-reports/cucumber/cucumber-results.xml", ), )
Current cucumber-results.xml:
What I would like to have:
Beta Was this translation helpful? Give feedback.
All reactions