From 6fba9b6a4db356e37e695e5f292b308bf05a57d8 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Sat, 10 Aug 2019 22:32:08 +0100 Subject: [PATCH] (GH-14) Fix test coverage --- recipe.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.cake b/recipe.cake index 414f87d..1316da7 100644 --- a/recipe.cake +++ b/recipe.cake @@ -20,7 +20,7 @@ BuildParameters.PrintParameters(Context); ToolSettings.SetToolSettings( context: Context, dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.ProtobufTools.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();