Test::...Runner(3pm)
π Test::...Runner(3pm) β like, the vibe
okay bestie, welcome to the manual page for Test::...Runner(3pm) β that's a section 3pm perl thing, "User Contributed Perl Documentation" energy, and it's genuinely important even tho it's kinda shy β¨
πΈ NAME πΈ
Test::Unit::Runner β the abstract base class for test runners. yes, abstract, it's giving "I'm the blueprint, not the build" π
β¨ SYNOPSIS β¨
my $runner = Test::Unit::TestRunner->new();
$runner->filter(@filter_tokens);
$runner->start(...);
π¦ DESCRIPTION π¦
so like, this class is the parent class of every single test runner. all of them. it's the mother of the group chat π
which means bestie, do not use it directly. it's not for that. it's a base class β it exists so all the other runner classes can inherit the same stuff. what kind of stuff? functionality such as state β think run-time options and that whole situation β all shared, all available to every runner class in the family. periodt.
π suites_running() π
returns an array stack of the current suites running. here's the mechanics, and it's lowkey elegant:
- when a new suite is started, it gets pushed onto the stack π₯
- when it's done, it gets popped off π€
so the first element in the returned array is the top-level suite, and the last one is the innermost suite. outermost β innermost, top to bottom, that's the whole story. iykyk π
π§ filter([ @tokens ]) π§
sets the runner's filter tokens to the given list. @tokens, that's it. that's the whole thing. slay.
π reset_filter() π
clears the current filter. boom, gone, fresh start β¨
π AUTHOR π
Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file included in this distribution).
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
^^ that's the legal bit, fr fr, and we respect it π
π SEE ALSO π
Test::Unit::HarnessUnitTest::Unit::TestRunnerTest::Unit::TkTestRunner
go read those next, bestie, they're the actual usable ones π«Ά
and that's the whole page !! this one came out of perl v5.40.1, dated 2026-04-05 β catch u in the next manpage, mwah ππ
β¨
π¦ where this page comes from
- ubuntu stonking: libtest-unit-perl 0.30-1 Β· Artistic-1.0-Perl OR 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