File Coverage

blib/lib/Test2/Require/AuthorTesting.pm
Criterion Covered Total %
statement 12 12 100.0
branch 2 2 100.0
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 18 19 94.7


line stmt bran cond sub pod time code
1             package Test2::Require::AuthorTesting;
2 2     2   421 use strict;
  2         10  
  2         65  
3 2     2   10 use warnings;
  2         5  
  2         58  
4              
5 2     2   10 use base 'Test2::Require';
  2         4  
  2         995  
6              
7             our $VERSION = '0.000156';
8              
9             sub skip {
10 3     3 0 195 my $class = shift;
11 3 100       17 return undef if $ENV{'AUTHOR_TESTING'};
12 2         10 return 'Author test, set the $AUTHOR_TESTING environment variable to run it';
13             }
14              
15             1;
16              
17             __END__