testcafe-reporter-testrail-alter
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i testcafe-reporter-testrail-alter

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

116 kB

Total Files

15

Last publish

Collaborators

  • newsiberian