Skip to content

Commit dff6701

Browse files
author
Petr Sramek
committed
added RunConfiguration to runsettings
1 parent f624a23 commit dff6701

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

unit-test.runsettings

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- File name extension must be .runsettings -->
33
<RunSettings>
4+
<RunConfiguration>
5+
<!-- Use 0 for maximum process-level parallelization. This does not force parallelization within the test DLL (on the thread-level). You can also change it from the Test menu; choose "Run tests in parallel". Unchecked = 1 (only 1), checked = 0 (max). -->
6+
<MaxCpuCount>0</MaxCpuCount>
7+
<!-- Path relative to directory that contains .runsettings file-->
8+
<ResultsDirectory>.\TestResults</ResultsDirectory>
9+
10+
<!-- Omit the whole tag for auto-detection. -->
11+
<!-- [x86] or x64, ARM, ARM64, s390x -->
12+
<!-- You can also change it from the Test menu; choose "Processor Architecture for AnyCPU Projects" -->
13+
<!--<TargetPlatform>x86</TargetPlatform>-->
14+
15+
<!-- Any TargetFramework moniker or omit the whole tag for auto-detection. -->
16+
<!-- net48, [net40], net6.0, net5.0, netcoreapp3.1, uap10.0 etc. -->
17+
<!--<TargetFrameworkVersion>net40</TargetFrameworkVersion>-->
18+
19+
<!-- Path to Test Adapters -->
20+
<TestAdaptersPaths>%SystemDrive%\Temp\foo;%SystemDrive%\Temp\bar</TestAdaptersPaths>
21+
22+
<!-- TestCaseFilter expression -->
23+
<TestCaseFilter>(TestCategory != Integration) &amp; (TestCategory != UnfinishedFeature)</TestCaseFilter>
24+
25+
<!-- TestSessionTimeout was introduced in Visual Studio 2017 version 15.5 -->
26+
<!-- Specify timeout in milliseconds. A valid value should be greater than 0 -->
27+
<TestSessionTimeout>10000</TestSessionTimeout>
28+
29+
<!-- true or false -->
30+
<!-- Value that specifies the exit code when no tests are discovered -->
31+
<TreatNoTestsAsError>true</TreatNoTestsAsError>
32+
</RunConfiguration>
433
<DataCollectionRunSettings>
534
<DataCollectors>
635
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

0 commit comments

Comments
 (0)