This is mocha runtime reporter for EPAM report portal.
It was designed to work with mocha programmatically, in order to be able to parametrize each test run.
npm install rp-mocha-reporter
How to use:
Fill in reporterOptions.
const Mocha = ;let mochaMain =reporter: 'mocha-rp-reporter'reporterOptions:endpoint: ""token: ""launch: ""project: ""tags: // optional string array of tags;
Run test example:
In the working directory run:
npm install- that would install all dependencies.
npm test- that would run example tests.