-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use vstest Cobertura support (#1177)
* Use vstest Cobertura support Thanks to microsoft/vstest#2874 Cobertura reports can be obtained faster without coverlet. * Update Kubectl.Tests.csproj * Update KubernetesClient.Classic.Tests.csproj * Update KubernetesClient.Tests.csproj * Update buildtest.yaml * Update AbstractKubernetes.cs.template * Update IBasicKubernetes.cs.template * Update IOperations.cs.template * Update Model.cs.template * Add filter * revert
- Loading branch information
Showing
5 changed files
with
57 additions
and
21 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RunSettings> | ||
<DataCollectionRunSettings> | ||
<DataCollectors> | ||
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0"> | ||
<Configuration> | ||
<CodeCoverage> | ||
<ModulePaths> | ||
<Include> | ||
<ModulePath>.*KubernetesClient\..*\.dll$</ModulePath> | ||
</Include> | ||
<Exclude> | ||
<ModulePath>.*tests\.dll$</ModulePath> | ||
<ModulePath>.*xunit.*dll$</ModulePath> | ||
<ModulePath>.*moq\.dll$</ModulePath> | ||
<ModulePath>.*System\.Reactive\.dll$</ModulePath> | ||
<ModulePath>.*BouncyCastle\.Crypto\.dll$</ModulePath> | ||
<ModulePath>.*IdentityModel\.OidcClient\.dll$</ModulePath> | ||
</Exclude> | ||
</ModulePaths> | ||
<!-- Set this to True to collect coverage information for functions marked with the "SecuritySafeCritical" attribute. Instead of writing directly into a memory location from such functions, code coverage inserts a probe that redirects to another function, which in turns writes into memory. --> | ||
<UseVerifiableInstrumentation>True</UseVerifiableInstrumentation> | ||
<!-- When set to True, collects coverage information from child processes that are launched with low-level ACLs, for example, UWP apps. --> | ||
<AllowLowIntegrityProcesses>True</AllowLowIntegrityProcesses> | ||
<!-- When set to True, collects coverage information from child processes that are launched by test or production code. --> | ||
<CollectFromChildProcesses>True</CollectFromChildProcesses> | ||
<Attributes> | ||
<Exclude> | ||
<Attribute>^System.ObsoleteAttribute$</Attribute> | ||
<Attribute>^System.CodeDom.Compiler.GeneratedCodeAttribute$</Attribute> | ||
<Attribute>^System.Diagnostics.DebuggerHiddenAttribute$</Attribute> | ||
<Attribute>^System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute$</Attribute> | ||
</Exclude> | ||
</Attributes> | ||
</CodeCoverage> | ||
</Configuration> | ||
</DataCollector> | ||
</DataCollectors> | ||
</DataCollectionRunSettings> | ||
</RunSettings> |
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
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
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