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   382 use strict;
  2         11  
  2         60  
3 2     2   9 use warnings;
  2         4  
  2         54  
4              
5 2     2   10 use base 'Test2::Require';
  2         4  
  2         821  
6              
7             our $VERSION = '0.000155';
8              
9             sub skip {
10 3     3 0 161 my $class = shift;
11 3 100       20 return undef if $ENV{'AUTHOR_TESTING'};
12 2         8 return 'Author test, set the $AUTHOR_TESTING environment variable to run it';
13             }
14              
15             1;
16              
17             __END__