Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 54854e6900
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (12 sloc) 0.382 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/perl -w
# test for tests coverage

use strict;
use warnings;
use Test::More;

eval 'use Test::Strict'; ## no critic
plan skip_all => 'Test::Strict is required' if $@;

# tweak this to change coverage acceptance level
my $coverage_threshold = 70;

# shut up warnings from Devel::Cover
$ENV{DEVEL_COVER_OPTIONS} = '-silent,1';
all_cover_ok( $coverage_threshold, 't' );
Something went wrong with that request. Please try again.