1.1.2 • Published 4 years ago

@shelf/jest-testrail-reporter v1.1.2

Weekly downloads
59
License
MIT
Repository
-
Last release
4 years ago

jest-testrail-reporter CircleCInpm.io

Simple package to submit jest test results to TestRail

Install

$ yarn add --dev @shelf/jest-testrail-reporter

Usage

Step 1. In your package.json

{
  "jest": {
    "reporters": ["default", "@shelf/jest-testrail-reporter"]
  }
}

Step 2. Add Test Case IDs to your tests in the following format: #C123

it('#C123 should do smth', () => {
  expect(true).toBe(true);
});

Step 3. Ensure you have environment variables with credentials setup:

  • process.env.TESTRAIL_HOST
  • process.env.TESTRAIL_EMAIL
  • process.env.TESTRAIL_PASSWORD
  • process.env.TESTRAIL_PROJECT_ID

Publish

$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags

License

MIT © Shelf

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago