Skip to content

Commit

Permalink
Exclude test project from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Feb 10, 2024
1 parent b827967 commit d019ba3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute" />
</ItemGroup>
<ItemGroup>
<None Remove="Keys.json" />
<None Remove="Keys_Alternate.yaml" />
Expand All @@ -29,7 +31,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="ReportGenerator" Version="5.2.0" />
<PackageReference Include="ReportGenerator" Version="5.2.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit d019ba3

Please sign in to comment.