Package Exports
- cypress-parallel
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cypress-parallel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cypress-parallel
Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
Run your Cypress test in parallel (locally)
How it works
🔍 - Search for existing Cypress tests
📄 - Read (if exists) a weight file
⚖️ - Split spec files into different threads
⚙️ - For each thread it runs the Cypress command you've passed as argument
📈 - Wait fo all thread to finish and collects the result in a single report
How to use
Install
npm i cypress-parallelAdd a new script
In your package.json add a new script:
"scripts" :{
...
"cy:run": "cypress run", // It can be any cypress command with any argument
"cy:parallel" : "cypress-parallel cy:run 2"
...
}Contributors
Looking for contributors.
License
MIT