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 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