Test Sharding - Definição do Glossário de CI/CD
O test sharding divide uma única suíte de testes em subconjuntos independentes (shards) que rodam em paralelo em várias máquinas ou jobs, e depois combina os resultados. Ele reduz o tempo total de teste em proporção aproximada ao número de shards.
No GitHub Actions
Uma matrix fornece a cada job um índice de shard e o total, e o test runner (Jest, Playwright, pytest com plugins) seleciona sua fatia. Um job final de fan-in mescla os relatórios e reporta o status combinado.
Guias relacionados
Fan-Out / Fan-In - CI/CD Glossary DefinitionFan-Out / Fan-In: Fan-out / fan-in is a pipeline pattern where one stage splits work into many parallel jobs…
Build Matrix - CI/CD Glossary DefinitionBuild Matrix: A build matrix is a configuration that expands a single job definition into many parallel jobs,…
Regression Test - CI/CD Glossary DefinitionRegression Test: A regression test verifies that previously working behavior still works after a change. When…