A Reporter that will push Test Results automatically to TestRail. This package is tailored specifically to work with our Test Management strategy by creating Test Plans, add Test Runs (for each Suite) to the Plan then publish Results (based on Cases) to the Runs
Manual steps required: Create a Test Plan periodically. We create a Test Plan for each environment at the beginning of each Sprint. Then get a hold of that
PlanId. Using the
ProjectId, the Reporter will fetch all Suites and Cases from the Project then create a Run for each Suite then publish Results appropriately.
npm i -D @architectnow/cypress-testrail-reporter
yarn add --dev @architectnow/cypress-testrail-reporter
We would recommend you to get familiar with Using Reporter in Cypress.
- Follow the convention of writing test cases from the original
We would recommend that you create a generic account for your Test Rail domain to be used by the Reporter so that Test Results aren't bound to anyone specific. Also use API Key instead of using
If you want to use Multi Reporters with Cypress, consider using
cypress-multi-reporters because it's actively maintained. Setup as follow:
npm i -D cypress-multi-reporters
// cypress.json// configFile.json