Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

TAP::Formatter::Session (3)

Name

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

Synopsis

Please see following description for synopsis

Description

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



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

VERSION
       Version 3.42

METHODS
   Class Methods
       "new"

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

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

       o   "formatter"

       o   "parser"

       o   "name"

       o   "show_count"

       "header"

       Output test preamble

       "result"

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

       "close_test"

       Called to close a test session.

       "clear_for_close"

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

       "time_report"

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



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14
                                                    TAP::Formatter::Session(3)