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:

  • formatter
  • parser
  • name
  • show_count

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