testcafe-reporter-testrail-alter
v0.1.0
Published
This is a TestCafe reporter plugin for TestRail. It publishes test run results to TestRail.
Downloads
14
Readme
testcafe-reporter-testrail-alter
This is a TestCafe reporter plugin for TestRail. It publishes test run results to TestRail.
Install
npm install testcafe-reporter-testrail-alter
or
yarn add testcafe-reporter-testrail-alter
Usage
Reporter name is testrail
.
This reporter doesn't generate direct output, and it could lead to conflict if you leave output
setting untouched.
It is possible to avoid conflicts by doing something like this: { "name": "testrail", "output": "/dev/null" }
.
Case ID
To connect your test with TestRail case you have to place TestRail case ID (like, C123) to the test meta, but you have to remove C, so the test should look like:
test.meta({ CID: 123 })('test things', async t => {})
Environment variables
You must provide the following variables
TESTRAIL_HOST
: your TestRail server address
TESTRAIL_USERNAME
: user which will run tests
TESTRAIL_PASS_OR_KEY
: password or API key
TESTRAIL_PROJECT_NAME
: TestRail project name
TESTRAIL_RUN_NAME
: Current test run name