Microsoft

Parallel and Context Sensitive Test Execution with Visual studio 2015 Update 1

Feb 8, 2016Charles Sterling
Parallel and Context Sensitive Test Execution with Visual studio 2015 Update 1
SummaryAI, from the source post

This post details the introduction of parallel test execution in Visual Studio 2015 Update 1, which allows test assemblies to run in parallel across multiple CPU cores. It explains how to enable this feature using a .runsettings file and the `MaxCpuCount` parameter. The post also introduces context-sensitive test execution, which runs only tests affected by code changes, and explains its activation via 'Run tests after build'. Performance gains from both features are demonstrated with a sample project.

More from the Visual Studio Unit Testing Framework trail