summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-01-28 09:40:17 -0800
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-30 12:26:19 +1300
commit0d6f8530a1d75d0068bc1f89715d5b8ca984b891 (patch)
tree8412a6ff63816bae21c32d959233e055a684bc5e
parentac2fdb250e053714c86edc32617ff58fa7bd3e3a (diff)
downloadrack-0d6f8530a1d75d0068bc1f89715d5b8ca984b891.tar.gz
Skip coverage testing of rack handlers
Coverage testers may not have the related libraries for these handlers installed. 3219 / 3381 LOC (95.21%) covered.
-rw-r--r--test/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helper.rb b/test/helper.rb
index c13a71f0..55799c8c 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -7,6 +7,7 @@ if ENV.delete('COVERAGE')
def SimpleCov.rack_coverage(**opts)
start do
add_filter "/test/"
+ add_filter "/lib/rack/handler"
add_group('Missing'){|src| src.covered_percent < 100}
add_group('Covered'){|src| src.covered_percent == 100}
end