TAP::FORMATTER::SESSION(3pm)
π TAP::Formatter::Session π
Okay bestie, this page lives in the Perl Programmers Reference Guide, and itβs literally the abstract base class for a harness output delegate. Yes, abstract β itβs giving βtemplate, not the whole show.β π
π NAME π
TAP::Formatter::Session β abstract base class for harness output delegate. No cap.
π VERSION π
Version 3.50 β¨
π§ 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. Slay. π
The %args hash can carry these keys, and yes, every single one is listed right here:
formatterparsernameshow_count
π header π
Output test preamble. Thatβs the whole assignment, bestie.
π₯ result π₯
Called by the harness for each line of TAP it receives. Every single line, okay? π
π¦ 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. Itβs the cleanup moment before the final reveal. π
β time_report β
Return a formatted string about the elapsed (wall-clock) time and about the consumed CPU time. Thatβs the lil time receipts, fr fr. π«Ά
Catch you later, bestie! π This page is from perl v5.42.3, dated 2026-11-03. Mwah! π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms