From e743f47b0bfae6a3c6c5db349a88400a86588f7f Mon Sep 17 00:00:00 2001 From: Elias Oehen Date: Wed, 11 Nov 2020 17:56:15 +0100 Subject: [PATCH] Add EmptyFiles to testCoverageFilter --- recipe.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.cake b/recipe.cake index ff0f9f7..69f48c0 100644 --- a/recipe.cake +++ b/recipe.cake @@ -19,7 +19,7 @@ BuildParameters.PrintParameters(Context); ToolSettings.SetToolSettings( context: Context, dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/TfsUrlParser.Tests/*.cs" }, - testCoverageFilter: "+[*]* -[xunit.*]* -[*.Tests]* -[Shouldly]* -[DiffEngine]*", + testCoverageFilter: "+[*]* -[xunit.*]* -[*.Tests]* -[Shouldly]* -[DiffEngine]* - [EmptyFiles]*", testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*", testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");