
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
cypress-parallel
Advanced tools
Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
cypress | cypress-parallel |
---|---|
![]() | ![]() |
š - 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 for all threads to finish and collects the result in a single report
npm i cypress-parallel
or
yarn add cypress-parallel
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 -s cy:run -t 2 -d <your-cypress-specs-folder> -a '\"<your-cypress-cmd-args>\"'"
...
}
Sample:
-a '\"--config baseUrl=http://localhost:3000\"'
npm run cy:parallel
or
Run with npx (no package installation needed)
npx cy:parallel -s cy:run -t 2 -d <your-cypress-specs-folder> -a '\"<your-cypress-cmd-args>\"'
Option | Alias | Description | Type |
---|---|---|---|
--help | Show help | ||
--version | Show version number | ||
--script | -s | Your npm Cypress command | string |
--args | -a | Your npm Cypress command arguments | string |
--threads | -t | Number of threads | number |
--specsDir | -d | Cypress specs directory | string |
--weightsJson | -w | Parallel weights json file | string |
--reporter | -r | Reporter to pass to Cypress. | string |
--reporterOptions | -o | Reporter options | string |
--reporterModulePath | -n | Specify the reporter module path | string |
--bail | -b | Exit on first failing thread | string |
--verbose | -v | Some additional logging | string |
--strictMode | -m | Add stricter checks after running the tests | boolean |
NB: If you use cypress-cucumber-preprocesor, please disable the strictMode to avoid possible errors:
"scripts" :{
...
"cy:parallel" : "cypress-parallel -s cy:run -t 4 -m false"
...
}
NB: If your cypress-multi-reporters module is not found on the same level as your Cypress suite (e.g. in a mono-repo) then you can specify the module directory for Cypress to search within.
"scripts" :{
...
"cy:parallel" : "cypress-parallel -s cy:run -t 4 -n .../../../node_modules/cypress-multi-reporters"
...
}
Looking for contributors.
MIT
FAQs
Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
The npm package cypress-parallel receives a total of 125,906 weekly downloads. As such, cypress-parallel popularity was classified as popular.
We found that cypress-parallel demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.