All Projects β†’ tnicola β†’ Cypress Parallel

tnicola / Cypress Parallel

Reduce up to 40% your Cypress suite execution time parallelizing the test run on the same machine.

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
Cvise
Super-parallel Python port of the C-Reduce
Stars: ✭ 77 (-1.28%)
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
Async
Async utilities for Golang.
Stars: ✭ 72 (-7.69%)
Mutual labels:  parallel
Pism
repository for the Parallel Ice Sheet Model (PISM)
Stars: ✭ 61 (-21.79%)
Mutual labels:  parallel
Openmp Examples
openmp examples
Stars: ✭ 64 (-17.95%)
Mutual labels:  parallel
Go Tdigest
A T-Digest implementation in golang
Stars: ✭ 67 (-14.1%)
Mutual labels:  parallel
Pwrake
Parallel Workflow extension for Rake, runs on multicores, clusters, clouds.
Stars: ✭ 57 (-26.92%)
Mutual labels:  parallel
Sorty
Fast Concurrent / Parallel Sorting in Go
Stars: ✭ 74 (-5.13%)
Mutual labels:  parallel
Ray Tracing Iow Rust
Ray Tracing in One Weekend written in Rust
Stars: ✭ 57 (-26.92%)
Mutual labels:  parallel
Flowa
πŸ”₯Service level control flow for Node.js
Stars: ✭ 66 (-15.38%)
Mutual labels:  parallel
Paraspec
Parallel RSpec test runner
Stars: ✭ 77 (-1.28%)
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

npm version

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].