Skip to content

Commit 963215f

Browse files
authored
Merge pull request #295 from pascalberger/feature/build-fix
Exclude Cake.Testing and Moq from code coverage
2 parents cec3d2e + 8fef574 commit 963215f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipe.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Environment.SetVariableNames();
44

55
BuildParameters.SetParameters(
6-
context: Context,
6+
context: Context,
77
buildSystem: BuildSystem,
88
sourceDirectoryPath: "./src",
99
title: "Cake.AzureDevOps",
@@ -19,7 +19,7 @@ BuildParameters.PrintParameters(Context);
1919
ToolSettings.SetToolSettings(
2020
context: Context,
2121
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.AzureDevOps.Tests/**/*.cs" },
22-
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[*.Tests]* -[Shouldly]*",
22+
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[*.Tests]* -[Cake.Testing]* -[Moq]* -[Shouldly]*",
2323
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
2424
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
2525

0 commit comments

Comments
 (0)