Tuesday, May 10, 2016

Run unit tests in parallel

https://blogs.msdn.microsoft.com/vstsqualitytools/2009/12/01/executing-unit-tests-in-parallel-on-a-multi-cpucore-machine/

quick review:
# Create test settings file is not exists
# Open in XML Editor
# add parallelTestCount attribute in Execution
attribute not specified = 1 CPU/Core used (default) 
0 = Auto configure: We will use as many tests as we can based on your CPU and core count 
n = The number n of tests to run in parallel to use (if you do not want to use all of your CPU/cores)

No comments: