Socket
Socket
Sign inDemoInstall

@shelf/jest-testrail-reporter

Package Overview
Dependencies
Maintainers
10
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shelf/jest-testrail-reporter

jest-testrail-reporter


Version published
Weekly downloads
9
decreased by-25%
Maintainers
10
Weekly downloads
 
Created
Source

jest-testrail-reporter CircleCI

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

FAQs

Package last updated on 29 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc