File Coverage

blib/lib/App/autotest/Test/Runner/Result.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 15 16 93.7


line stmt bran cond sub pod time code
1 6     6   62179 use strict;
  6         7  
  6         172  
2 6     6   22 use warnings;
  6         7  
  6         223  
3              
4             package App::autotest::Test::Runner::Result;
5             $App::autotest::Test::Runner::Result::VERSION = '0.006';
6             # ABSTRACT: represents the result of a test run
7              
8 6     6   441 use Moose;
  6         275643  
  6         29  
9              
10             has harness_result => (
11             is => 'rw',
12             isa => 'TAP::Parser::Aggregator'
13             );
14              
15             sub has_failures {
16 9     9 0 1409 my ($self)=@_;
17              
18 9         285 return $self->harness_result->failed > 0;
19             }
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             App::autotest::Test::Runner::Result - represents the result of a test run
32              
33             =head1 VERSION
34              
35             version 0.006
36              
37             =head1 AUTHOR
38              
39             Gregor Goldbach <glauschwuffel@nomaden.org>
40              
41             =head1 COPYRIGHT AND LICENSE
42              
43             This software is copyright (c) 2015 by Gregor Goldbach.
44              
45             This is free software; you can redistribute it and/or modify it under
46             the same terms as the Perl 5 programming language system itself.
47              
48             =cut