blib/lib/TAP/Formatter/JUnit/Result.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« script/tap2junit ↑ Summary
1 package TAP::Formatter::JUnit::Result;
2  
3 7 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 has 'time' => (
7 is => 'ro',
8 isa => 'Num',
9 required => 1,
10 );
11  
12 7 has 'result' => (
13 is => 'ro',
14 isa => 'TAP::Parser::Result',
15 required => 1,
16 handles => [qw(
17 name
18 number
19 description
20 as_string
21 raw
22  
23 is_test
24 is_plan
25 is_unplanned
26 is_ok
27  
28 todo_passed
29 explanation
30 )],
31 );
32  
33 7 1;
34  
35 =head1 NAME
36  
37 TAP::Formatter::JUnit::Result - Wrapper for a TAP result
38  
39 =head1 DESCRIPTION
40  
41 C<TAP::Formatter::JUnit::Result> is an internal class, used to wrap/augment
42 C<TAP::Parser::Result> objects with timing information.
43  
44 B<NOT recommended for public consumption; internal use only.>
45  
46 =head1 AUTHOR
47  
48 Graham TerMarsch <cpan@howlingfrog.com>
49  
50 =head1 COPYRIGHT
51  
52 Copyright 2011, Graham TerMarsch. All Rights Reserved.
53  
54 This is free software; you can redistribute it and/or modify it under the same
55 terms as Perl itself.
56  
57 =cut
« script/tap2junit ↑ Summary