diff --git a/.gitignore b/.gitignore
index 08bc694c20c..6ef7d753859 100644
--- a/.gitignore
+++ b/.gitignore
@@ -123,4 +123,5 @@ tools
*.lock.json
*.nuget.targets
-*.nuget.props
\ No newline at end of file
+*.nuget.props
+coverage.*.json
diff --git a/src/Polly.Specs/Polly.Specs.csproj b/src/Polly.Specs/Polly.Specs.csproj
index b1d6577c94b..6f224b89033 100644
--- a/src/Polly.Specs/Polly.Specs.csproj
+++ b/src/Polly.Specs/Polly.Specs.csproj
@@ -12,6 +12,7 @@
+
@@ -23,4 +24,11 @@
+
+ true
+ [xunit.*]*
+ System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute
+ 75,60,70
+
+