File Coverage

blib/lib/Test/Routine/Test/Role.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 13 14 92.8


line stmt bran cond sub pod time code
1 10     10   5682 use v5.12.0;
  10         36  
2             package Test::Routine::Test::Role 0.030;
3             # ABSTRACT: role providing test attributes
4              
5 10     10   64 use Moose::Role;
  10         23  
  10         124  
6              
7             has description => (
8             is => 'ro',
9             isa => 'Str',
10             lazy => 1,
11             default => sub { $_[0]->name },
12             );
13              
14             has _origin => (
15             is => 'ro',
16             isa => 'HashRef',
17             required => 1,
18             );
19              
20 36     36 0 127 sub skip_reason { return }
21              
22 10     10   53370 no Moose::Role;
  10         29  
  10         62  
23              
24             1;
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Test::Routine::Test::Role - role providing test attributes
35              
36             =head1 VERSION
37              
38             version 0.030
39              
40             =head1 PERL VERSION
41              
42             This module should work on any version of perl still receiving updates from
43             the Perl 5 Porters. This means it should work on any version of perl released
44             in the last two to three years. (That is, if the most recently released
45             version is v5.40, then this module should work on both v5.40 and v5.38.)
46              
47             Although it may work on older versions of perl, no guarantee is made that the
48             minimum required version will not be increased. The version may be increased
49             for any reason, and there is no promise that patches will be accepted to lower
50             the minimum required perl.
51              
52             =head1 AUTHOR
53              
54             Ricardo Signes <cpan@semiotic.systems>
55              
56             =head1 COPYRIGHT AND LICENSE
57              
58             This software is copyright (c) 2010 by Ricardo Signes.
59              
60             This is free software; you can redistribute it and/or modify it under
61             the same terms as the Perl 5 programming language system itself.
62              
63             =cut