logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Methods

ClassMethods"new"

        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"

       "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.

perl v5.40.1                                       2025-08-10                       TAP::Formatter::Session(3pm)

Name

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

Version

       Version 3.52

See Also