TAP::FORMATTER::SESSION(3perl)

✨ NAME ✨

TAP::Formatter::Session β€” bestie, this is the abstract base class for harness output delegate πŸ’… it's the blueprint, not the finished product, okay?


🌸 VERSION 🌸

Version 3.52 β€” yes queen, that's the one πŸŽ€


πŸ’– METHODS πŸ’–

🫢 Class Methods

⭐ new

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

The constructor hands you back a shiny new TAP::Formatter::Console::Session object. iconic behaviour, honestly πŸ‘‘

Here's what you can slide into %args:

  • formatter
  • parser
  • name
  • show_count

Output test preamble ✨ it's giving opening credits, lowkey.

πŸ’œ result

Called by the harness for each line of TAP it receives. every single one, no skips, fr fr.

πŸ¦‹ close_test

Called to close a test session πŸŽ€ wrap it up bestie.

πŸ’… 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. gotta wipe the slate clean before the big reveal, yk? ✨

🌸 time_report

Return a formatted string about the elapsed (wall-clock) time and about the consumed CPU time ⏱️ the receipts, basically.


okay that's the whole page bestie, every method accounted for, no cap 🫢

signing off from perl v5.44.0, dated 2026-10-17 β€” mwah, slay, go write some tests πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms