Skip to content

Commit

Permalink
(build) Fix Test Coverage
Browse files Browse the repository at this point in the history
Not sure why this broke as a result of the recent changes made by me, but
it did.  Excluding the NUnit3 assembly from Test Coverage fixes the
problem.
  • Loading branch information
gep13 committed Aug 7, 2019
1 parent d9b312a commit c54ac66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(
context: Context,
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.AppCenter.Tests/*.cs" },
testCoverageFilter: "+[*]* -[nunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* ",
testCoverageFilter: "+[*]* -[nunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[NUnit3.*]*",
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
Build.RunDotNetCore();

0 comments on commit c54ac66

Please sign in to comment.