Skip to content

Commit

Permalink
Added t/cover.t
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jun 1, 2024
1 parent 8d953fd commit 7066cef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ t/carp.t
t/changes.t
t/comment-spelling.t
t/cookies.t
t/cover.t
t/critic.t
t/cv.t
t/dependent-modules.t
Expand Down
15 changes: 15 additions & 0 deletions t/cover.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!perl -w

use strict;
use warnings;

use Test::Most;
use Test::Needs 'Test::Strict';

if($ENV{'AUTHOR_TESTING'}) {
Test::Strict->import();
all_perl_files_ok();
all_cover_ok(80); # at least 80% coverage
} else {
plan(skip_all => 'Author tests not required for installation');
}

0 comments on commit 7066cef

Please sign in to comment.