Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code coverage settings #2176

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions build/CodeCoverage.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- Customised run settings file to exclude test assemblies from coverage.
See https://msdn.microsoft.com/en-us/library/jj159530.aspx for more info. -->

<!-- File name extension must be .runsettings -->
<RunSettings>
<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>

<!--
About include/exclude lists:
Empty "Include" clauses imply all; empty "Exclude" clauses imply none.
Each element in the list is a regular expression (ECMAScript syntax). See http://msdn.microsoft.com/library/2k3te2cs.aspx.
An item must first match at least one entry in the include list to be included.
Included items must then not match any entries in the exclude list to remain included.
-->

<!-- Match assembly file paths: -->
<ModulePaths>
<Include>
<ModulePath>.*\microsoft.identitymodel.abstractions.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.jsonwebtokens.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.keyvaultextensions.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.logging.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.loggingextensions.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.managedkeyvaultsecuritykey.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.protocols.openidconnect.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.protocols.signedhttprequest.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.protocols.wsfederation.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.protocols.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.testextensions.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.tokens.saml.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.tokens.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.validators.dll</ModulePath>
<ModulePath>.*\microsoft.identitymodel.xml.dll</ModulePath>
<ModulePath>.*\system.identitymodel.tokens.jwt.dll</ModulePath>
</Include>
</ModulePaths>

</CodeCoverage>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>