lecture 11 of 160 completed

Parallelisation, Cloud, and what runtime costs

Cypress splits work by spec file, and that single fact drives how you organise a suite for speed.

What you'll learn

  • Why Cypress splits work by spec file
  • Why your slowest spec sets the floor
  • The order to optimise in before buying machines

Your pipeline takes forty minutes. Every merge waits for it. Engineers start merging without waiting, and the suite stops being a gate.

Runtime is a budget a senior engineer is accountable for, and reducing it starts with one fact about how Cypress parallelises.

Cypress splits work by spec file, not by test.

That is the whole thing. Ten machines and ten spec files gives you ten-way parallelism. Ten machines and one enormous spec file gives you one machine working and nine idle.

Two consequences follow immediately.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →