TAP::Formatter::Session(3p) Perl Programmers Reference Guide

TAP::Formatter::Session(3p) Perl Programmers Reference Guide #

TAP::Formatter::Session(3p) Perl Programmers Reference Guide

NNAAMMEE #

 TAP::Formatter::Session - Abstract base class for harness output delegate

VVEERRSSIIOONN #

 Version 3.44

MMEETTHHOODDSS #

CCllaassss MMeetthhooddss _"_n_e_w_"

  my %args = (
     formatter => $self,
  )
  my $harness = TAP::Formatter::Console::Session->new( \%args );

 The constructor returns a new "TAP::Formatter::Console::Session" object.

 •   "formatter"

 •   "parser"

 •   "name"

 •   "show_count"

 _"_h_e_a_d_e_r_"

 Output test preamble

 _"_r_e_s_u_l_t_"

 Called by the harness for each line of TAP it receives.

 _"_c_l_o_s_e___t_e_s_t_"

 Called to close a test session.

 _"_c_l_e_a_r___f_o_r___c_l_o_s_e_"

 Called by "close_test" to clear the line showing test progress, or the
 parallel test ruler, prior to printing the final test result.

 _"_t_i_m_e___r_e_p_o_r_t_"

 Return a formatted string about the elapsed (wall-clock) time and about
 the consumed CPU time.

perl v5.36.3 2023-02-15 TAP::Formatter::Session(3p)