A typical test runner implements a sharding feature that splits tests to run on different machines. However, the sharding algorithm often randomly spl

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-10 15:00:05

A typical test runner implements a sharding feature that splits tests to run on different machines. However, the sharding algorithm often randomly splits tests, leading to uneven execution times across shards.

Tenbin provides tools to minimize the differences in execution time across shards. It uses the execution times of past test run when splitting tests.

The optimization of the sharding algorithm is considered in E2E testing tools where test execution time is a more critical issue. In Playwright, this is being discussed in playwright#17969, and it seems that some implementation is in progress. In Cypress, the "load-balancing strategy" is available.

Leave a Comment