
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
jest-reporter-testrail
Advanced tools
Reporter plugin that sends test coverage and test results to TestRail
Reporter plugin that sends test coverage and test results to TestRail
It does not provide std output, please use with combination with the default reporter
Installation
npm install jest-reporter-testrail --save-dev
Add reporter to jest configuration. Make sure to also include default reporter if reporters option was not provided
reporters: [
'default',
'jest-reporter-testrail'
],
Configuration can be provided via:
ENV variables
configuration file (.testrailrc)
reporter options in jest config
reporters: [ 'default', ['jest-reporter-testrail', {option1: '', option2: ''}] ],
Both configuration file and reporter options use the same schema.
ENV Variable | Config | Description | Default | Required |
---|---|---|---|---|
TESTRAIL_ENABLE | enabled | Enables TestRail integration. | false | |
TESTRAIL_HOST | host | URL of the TestRail instance. | true | |
TESTRAIL_USER | user | Account name which will be used to push results. | true | |
TESTRAIL_API_KEY | apiKey | API key which can be generated on the profile page in TestRail. | true | |
TESTRAIL_PROJECT_ID | projectId | Project id in which test cases are stored. Ex. P123 | true | |
TESTRAIL_SUITE_ID | suiteId | Suite id in which test cases are stored. Ex. S123 | true | |
TESTRAIL_COVERAGE_CASE_ID | coverageCaseId | Test Case ID which will be used to post test results. It will appear in Test Run as executed with coverage and results as description. | true | |
TESTRAIL_RUN_NAME | runName | Test Run name. Configurable with variables
| %BRANCH%#%BUILD% - %DATE% | |
TESTRAIL_RUN_DESCRIPTION | runDescription | You can provide you own Test Run description. If this option is not configured, it will contain test results and test coverage. | ||
TESTRAIL_REFERENCE | reference | String that will be added to the refs field in TestRail. This can enable integration with other tools like https://github.com/DamianOsipiuk/testcafe-reporter-testrail/. Configurable with variables
| ||
TESTRAIL_BRANCH_ENV | branchEnv | Which ENV variable is used to store branch name on which tests are run. | BRANCH | |
TESTRAIL_BUILD_NO_ENV | buildNoEnv | Which ENV variable is used to store build number of tests run. | BUILD_NUMBER | |
TESTRAIL_DATE_FORMAT | dateFormat | What date format should be used for %DATE% placeholder. https://momentjs.com/ formats supported. | YYYY-MM-DD HH:mm:ss |
FAQs
Reporter plugin that sends test coverage and test results to TestRail
The npm package jest-reporter-testrail receives a total of 0 weekly downloads. As such, jest-reporter-testrail popularity was classified as not popular.
We found that jest-reporter-testrail demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.