Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 1008 Bytes

parallelization-guide.md

File metadata and controls

14 lines (7 loc) · 1008 Bytes

Parallelization Explained

Parallelizing cypress tests means running different tests with multiple cypress agents at the same time. The official Cypress documentation greatly explains why is it good. In short, it allows to greatly reduce the overall time of running your tests.

Parallelization diagram

When an agent is configured to run tests in parallel, it tries to connect to a remote service to coordinate the tests running order. Sorry-cypress is such a service.

It coordinates requests from cypress agents, providing each agent with different tests to run. It also collects test results for browsing.

You will still need to set up (and pay for) a CI environment that runs cypress agents.

When using sorry-cypress you'll need to override the default configuration to set an alternative URL for contacting the remote dashboard.