-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude unittests from code coverage results (#3053)
* Exclude unittests from code coverage results * Cleanup
- Loading branch information
1 parent
d8c2c67
commit 4c54080
Showing
1 changed file
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RunSettings> | ||
<MSTest> | ||
<!-- | ||
<MSTest> | ||
<!-- | ||
Specify timeout in milliseconds. | ||
Current timeout is set to 11mins | ||
Current timeout is set to 11mins | ||
(Long running test - DeviceClient_CreateFromConnectionString_TokenIsRefreshed_Mqtt takes a little over 10mins to complete.) | ||
(Long running tests - DeviceClient_TokenIsRefreshed_Ok_Mqtt, DeviceClient_DeviceDisabled_Gives_ConnectionStatus_DeviceDisabled_AMQP take a little over 5mins to complete.) | ||
--> | ||
<TestTimeout>660000</TestTimeout> | ||
</MSTest> | ||
<TestTimeout>660000</TestTimeout> | ||
</MSTest> | ||
<DataCollectionRunSettings> | ||
<DataCollectors> | ||
<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"> | ||
<Configuration> | ||
<CodeCoverage> | ||
<ModulePaths> | ||
<Exclude> | ||
<ModulePath>.*tests\.dll$</ModulePath> | ||
</Exclude> | ||
</ModulePaths> | ||
</CodeCoverage> | ||
</Configuration> | ||
</DataCollector> | ||
</DataCollectors> | ||
</DataCollectionRunSettings> | ||
</RunSettings> |