1TAP::Formatter::SessionU(s3e)r Contributed Perl DocumentaTtAiPo:n:Formatter::Session(3)
2
3
4
6 TAP::Formatter::Session - Abstract base class for harness output
7 delegate
8
10 Version 3.42
11
13 Class Methods
14 "new"
15
16 my %args = (
17 formatter => $self,
18 )
19 my $harness = TAP::Formatter::Console::Session->new( \%args );
20
21 The constructor returns a new "TAP::Formatter::Console::Session"
22 object.
23
24 · "formatter"
25
26 · "parser"
27
28 · "name"
29
30 · "show_count"
31
32 "header"
33
34 Output test preamble
35
36 "result"
37
38 Called by the harness for each line of TAP it receives.
39
40 "close_test"
41
42 Called to close a test session.
43
44 "clear_for_close"
45
46 Called by "close_test" to clear the line showing test progress, or the
47 parallel test ruler, prior to printing the final test result.
48
49 "time_report"
50
51 Return a formatted string about the elapsed (wall-clock) time and about
52 the consumed CPU time.
53
54
55
56perl v5.32.0 2020-07-28 TAP::Formatter::Session(3)