Test Parallelization
ELI5 — The Vibe Check
Test Parallelization runs multiple tests at the same time instead of one after another. A test suite that takes 30 minutes sequentially might take 5 minutes across 6 parallel workers. The catch: your tests must be isolated. Shared state + parallel tests = flake city.
Real Talk
Test parallelization distributes test execution across multiple processes, threads, or machines. CI systems support splitting by file, test name, or timing data (Playwright sharding, Jest workers, pytest-xdist). Prerequisites: test isolation, no shared state, idempotent setup/teardown, and sufficient CI resources.
When You'll Hear This
"Parallelizing our test suite across 8 workers cut CI time from 20 minutes to 3." / "We shard Playwright tests across 4 CI jobs using the built-in sharding flag."
Related Terms
Matrix Strategy
Matrix Strategy is CI/CD's way of testing every combo without writing every combo. Test on Node 18, 20, and 22? On Ubuntu and macOS?
Test Isolation
Test Isolation means each test is completely independent — it sets up its own data, runs in its own world, and cleans up after itself.