Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this tutorial, we will create some tests in JavaScript using CodeceptJS and we'll use mocha-junit-reporter to generate a compatible JUnit XML report.

Requirements

  • codeceptjs
  • webdriverio
  • selenium-standalone
  • mocha-junit-reporter

...

No Format
 codeceptjs run --reporter mocha-junit-reporter


Image Added


Each Scenario JUnit's Test Case is mapped to a Generic Test in Jira, and the the Generic Test Definition field  field contains the name of the test Scenario concatenated with the alias of each test case "assert" statement.Image Removedname of the Feature.

The Execution Details of the Generic Test contains information about the Test Suite, which in this case corresponds to the description name of the first "describe"Feature.

Image RemovedImage Added

References