tnicola / Cypress Parallel
Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.
Stars: β 78
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Cypress Parallel
Suman
π π π Advanced, user-friendly, language-agnostic, super-high-performance test runner. http://sumanjs.org
Stars: β 57 (-26.92%)
Mutual labels: parallel
Tunnelto
Expose your local web server to the internet with a public URL.
Stars: β 1,138 (+1358.97%)
Mutual labels: localhost
Parallel
This project now lives on in a rewrite at https://gitlab.redox-os.org/redox-os/parallel
Stars: β 1,181 (+1414.1%)
Mutual labels: parallel
Mixed gauge
A simple and robust database sharding with ActiveRecord.
Stars: β 58 (-25.64%)
Mutual labels: sharding
Pelagia
Automatic parallelization (lock-free multithreading thread) tool developed by Surparallel Open Source.Pelagia is embedded key value database that implements a small, fast, high-reliability on ANSI C.
Stars: β 1,132 (+1351.28%)
Mutual labels: parallel
Parallel
A golang parallel library, used for business logic aggregation and refactory without changing user function declaration.
Stars: β 67 (-14.1%)
Mutual labels: parallel
Mulimgviewer
MulimgViewer is a multi-image viewer that can open multiple images in one interface, which is convenient for image comparison and image stitching.
Stars: β 57 (-26.92%)
Mutual labels: parallel
Zanredisdb
Yet another distributed kvstore support redis data and index. moved to: https://github.com/youzan/ZanRedisDB
Stars: β 64 (-17.95%)
Mutual labels: sharding
Pism
repository for the Parallel Ice Sheet Model (PISM)
Stars: β 61 (-21.79%)
Mutual labels: parallel
Pwrake
Parallel Workflow extension for Rake, runs on multicores, clusters, clouds.
Stars: β 57 (-26.92%)
Mutual labels: parallel
Ray Tracing Iow Rust
Ray Tracing in One Weekend written in Rust
Stars: β 57 (-26.92%)
Mutual labels: parallel
Cetus
Cetus is a high performance middleware that provides transparent routing between your application and any backend MySQL Servers.
Stars: β 1,199 (+1437.18%)
Mutual labels: sharding
Promise Parallel Throttle
It's kinda like Promise.all(), but throttled!
Stars: β 72 (-7.69%)
Mutual labels: parallel
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 for all threads to finish and collects the result in a single report
How to use
Install
npm i cypress-parallel
or
yarn add cypress-parallel
Add 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 -s cy:run -t 2 -d <your-cypress-specs-folder> -a '\"<your-cypress-cmd-args>\"'"
...
}
With Arguments
Sample:
-a '\"--config baseUrl=http://localhost:3000\"'
Launch the new script
npm run cy:parallel
Scripts options
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 |
Contributors
Looking for contributors.
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].