Skip to content

Commit

Permalink
Suppress Moq from code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Dec 18, 2024
1 parent 863a203 commit a5339cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $UnitTestsAssembly = Join-Path $OutputDir "UnitTests.dll"
if ($GenerateCodeCoverage -eq 'true') {
Write-Output "Instrumenting code..."

& dotnet AltCover -i="$OutputDir" --inplace -s="System.*" -s="Microsoft.*" -s="BouncyCastle.*" -s="NUnit*" -s="AltCover.*" -s="testhost" -s="UnitTests"
& dotnet AltCover -i="$OutputDir" --inplace -s="System.*" -s="Microsoft.*" -s="BouncyCastle.*" -s="NUnit*" -s="Moq*" -s="AltCover.*" -s="testhost" -s="UnitTests"
# & dotnet AltCover Runner --recorderDirectory=$OutputDir --executable=$NUnitConsoleRunner --summary=O -- --domain:single $UnitTestsAssembly
}

Expand Down

0 comments on commit a5339cf

Please sign in to comment.