Page History
Overview
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 |
---|
npm install -g codeceptjs npm -g install webdriverio@^4.0.0 npm i -g mocha-junit-reporter npm install -g selenium-standalone selenium-standalone install selenium-standalone start |
Code
The following code and the setup instructions were inspired on CodeceptJS startup tutorial.
...
The Execution Details of the Generic Test contains information about the Test Suite, which in this case corresponds to the name of the Feature.