| 1 | package TAP::Formatter::TeamCity; | ||
| 2 | |||
| 3 | 20 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 20 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 20 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 20 | our $VERSION = '0.13'; | |
| 9 | |||
| 10 | 20 | ▶ | use TAP::Formatter::Session::TeamCity; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 20 | ▶ | use base qw(TAP::Formatter::Base); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 52 | ▶ | sub open_test { |
|
Subroutine
open_test: called CC=1 SCAR=0.0
Pod
documented
| |||
| 15 | 52 | my $self = shift; | |
| 16 | 52 | my $test_name = shift; | |
| 17 | 52 | my $parser = shift; | |
| 18 | |||
| 19 | 52 | my $session = TAP::Formatter::Session::TeamCity->new( | |
| 20 | { | ||
| 21 | name => $test_name, | ||
| 22 | formatter => $self, | ||
| 23 | parser => $parser, | ||
| 24 | } | ||
| 25 | ); | ||
| 26 | |||
| 27 | 52 | return $session; | |
| 28 | } | ||
| 29 | |||
| 30 | 20 | 1; | |
| 31 | |||
| 32 | # ABSTRACT: Emit test results as TeamCity build messages | ||
| 33 | |||
| 34 | __END__ | ||