# grosser/parallel_tests

Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber

Repository: https://github.com/grosser/parallel_tests
Canonical: https://ross.abutalabs.com/products/parallel_tests
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-06-04T21:37:34+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 35, longevity 100
- inputs: {"age_days": 6317, "days_push": 90, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3517, forks 510 (observed 2026-08-28T04:08:07.866053+00:00)

## What it is
A Ruby gem that speeds up test suites by splitting Minitest, RSpec, Cucumber, Spinach, and Turnip tests into balanced groups and running them in parallel across CPU cores, with one database per process. It integrates with Rails via rake tasks for creating, migrating, and preparing parallel test databases.

## Use cases
- speed up slow rspec test suite
- run cucumber features in parallel
- parallelize tests in CI to reduce build time
- run tests with a separate database per process
- split tests into balanced groups by runtime
- run arbitrary rake tasks in parallel

## When to choose
- you have a large Ruby/Rails test suite that takes too long to run
- you use RSpec, Minitest, or Cucumber and have multiple CPU cores
- you want per-process test databases with automatic setup rake tasks

## When to avoid
- your test suite is already fast or too small to benefit from parallelization
- your tests cannot run in isolation or share mutable global state
- you are not working in Ruby

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing, concurrency, cli
- domain: testing, developer-tools, web-development
- platform: ruby, cli, cross-platform
- tags: rspec, cucumber, minitest, test-parallelization, rails, spinach, turnip

## Member repositories
- grosser/parallel_tests (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.866053+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:35:34.397278+00:00, confidence not recorded.
  - readme: https://github.com/grosser/parallel_tests (fetched 2026-08-28T04:08:07.866053+00:00, sha 7a4d54e0c75a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
