#Testrails Reporter for Mocha
Pushes test results into TestRail system.
$ npm install mocha-testrail-reporter --save-dev
Run mocha with mocha-testrail-reporter
:
$ mocha test --reporter mocha-testrail-reporter --reporter-options domain=example,[email protected],password=12345678,projectId=1,suiteId=1
all reporter-options are mandatory except the following:
- assignedToId
Reference: https://github.com/michaelleeallen/mocha-testrail-reporter/blob/master/index.js