extensions/eng/CodeCoverage.config

40 строки
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Format>cobertura</Format>
<CodeCoverage>
<ModulePaths>
<Include>
<ModulePath>.*Microsoft.AspNetCore\.[^/\\]+\.dll$</ModulePath>
<ModulePath>.*Microsoft.Extensions\.[^/\\]+\.dll$</ModulePath>
<ModulePath>.*Microsoft.Gen\.[^/\\]+\.dll$</ModulePath>
<ModulePath>.*System\.Cloud\.[^/\\]+\.dll$</ModulePath>
</Include>
<Exclude>
<ModulePath>.*tests\.dll</ModulePath>
<ModulePath>.*xunit.*</ModulePath>
<ModulePath>.*moq.*</ModulePath>
</Exclude>
</ModulePaths>
<!-- Match attributes on any code element: -->
<Attributes>
<Exclude>
<!-- Don't forget "Attribute" at the end of the name -->
<Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute>
<Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute>
<Attribute>^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$</Attribute>
<Attribute>^System\.Diagnostics\.CodeAnalysis\.ExcludeFromCodeCoverageAttribute$</Attribute>
</Exclude>
</Attributes>
<!-- When set to True, dynamic native instrumentation will be enabled. -->
<EnableDynamicNativeInstrumentation>false</EnableDynamicNativeInstrumentation>
<!-- When set to True, instrumented binaries on disk are removed and original files are restored. -->
<EnableStaticNativeInstrumentationRestore>false</EnableStaticNativeInstrumentationRestore>
<EnableStaticNativeInstrumentation>false</EnableStaticNativeInstrumentation>
<UseVerifiableInstrumentation>false</UseVerifiableInstrumentation>
</CodeCoverage>
</Configuration>