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 11     11   8184 use v5.12.0;
  11         55  
2             package Test::Routine::Test::Role 0.032;
3             # ABSTRACT: role providing test attributes
4              
5 11     11   81 use Moose::Role;
  11         25  
  11         129  
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 38     38 0 177 sub skip_reason { return }
21              
22 11     11   79790 no Moose::Role;
  11         24  
  11         76  
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.032
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
44             released in the last two to three years. (That is, if the most recently
45             released version is v5.40, then this module should work on both v5.40 and
46             v5.38.)
47              
48             Although it may work on older versions of perl, no guarantee is made that the
49             minimum required version will not be increased. The version may be increased
50             for any reason, and there is no promise that patches will be accepted to
51             lower the minimum required perl.
52              
53             =head1 AUTHOR
54              
55             Ricardo Signes <cpan@semiotic.systems>
56              
57             =head1 COPYRIGHT AND LICENSE
58              
59             This software is copyright (c) 2010 by Ricardo Signes.
60              
61             This is free software; you can redistribute it and/or modify it under
62             the same terms as the Perl 5 programming language system itself.
63              
64             =cut