Code that support the tutorial Testing web applications using Mocha and WebdriverIO showcasing the integratoin between Xray Test Management on Jira and JUnit.
The test automation code implements a basic Mocha test using WebDriverIO
In order to run this tutorial you need to have Nodejs and install WebDriverIO test runner.
npm install @wdio/cli
Install the Junit Framework.
npm install @wdio/junit-reporter --save-dev
Tests can be executed locally with the following command
npx wdio run ./wdio.conf.js
Results can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed. This can be achieved using Xray Test Management as shown in further detail in this tutorial.
Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.