Test2:...er::Run(3pm)
π Test2::Harness::Runner::Run β the tea β
okay bestie, gather round, because we're talking about Test2::Harness::Runner::Run from the Perl docs (manual section 3pm). it's a whole vibe and it's lowkey important, so let's get into it π
β¨ NAME β¨
Test2::Harness::Runner::Run β the runner-specific subclass of a test run. yes, it said subclass. it's giving main character with a famous parent π
πΈ DESCRIPTION πΈ
so basically, this is the runner subclass of Test2::Harness::Run, and it's made to be used inside the runner. that's the whole point, that's the assignment, no cap π«Ά
fr fr, if you're not inside the runner, this isn't the module you're looking for. it's built for that specific context.
π METHODS π
on top of everything Test2::Harness::Run already hands you (it's generous like that π), this subclass serves up these extra ones:
$dir = $run->workdirβ the runner directory. the workspace where the runner does its thing β¨$dir = $run->run_dirβ a directory that's specific to this run. one run, one home, iconic π$path = $run->jobs_fileβ the path to the"jobs.jsonl"file. just the path, bestie π₯$fh = $run->jobsβ an actual filehandle to"jobs.jsonl". now you can read the goods π
π§ SOURCE π§
the source code repo for Test2-Harness lives at http://github.com/Test-More/Test2-Harness/. go peek, it's not gatekept π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
β AUTHORS β
- Chad Granum
<exodist@cpan.org>
π¦ COPYRIGHT π¦
Copyright 2020 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
and that's the whole page, bestie π this was perl v5.40.1 energy, dated 2026-05-10, coming at you from the Test2::Harness::Runner::Run 3pm section of the User Contributed Perl Documentation. slay, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: libtest2-harness-perl 1.000172-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