Microsoft

Test batching options with VSTest task

Nov 14, 2017Kavipriya Adhinarayanan
Test batching options with VSTest task
SummaryAI, from the source post

This post introduces and details three options for test batching within the VSTest task in Azure Pipelines: 1. Based on the number of tests and agents, allowing for equal test counts per batch or a specified batch size. 2. Based on the past running time of tests, grouping tests into batches of approximately equal execution times derived from previous runs, with specific considerations for unknown test execution times. 3. Based on test assemblies, grouping tests from the same assembly into a single batch. It also notes feature availability across VSTS, TFS 2018+, and upcoming updates, and the distinction between build and release pipeline capabilities.

More from the Flaky Test Management in Azure Pipelines trail