Microsoft

Parallel Test Execution

Oct 10, 2016Pratap Lakshman
Parallel Test Execution
SummaryAI, from the source post

This post details the implementation of parallel test execution in Visual Studio, focusing on its availability across IDE, CLI, and VSTS. It explains the core mechanism of launching tests in separate processes, the role of .runsettings files and the MaxCpuCount parameter, and the iterative approach to partitioning tests for parallel execution. It also introduces discoverable ON/OFF toggles in the IDE (Test Explorer) and VSTS (VSTest task) for easier adoption, and clarifies how these settings merge with .runsettings files.

More from the Visual Studio Unit Testing Framework trail