Test2:...ss::Run(3pm)

πŸ’– Test2::Harness::Run β€” the vibe

ok so this is Test2::Harness::Run, a whole module from the User Contributed Perl Documentation era (we love a classic πŸŽ€). It lives in Test2::Harness and honestly? It's giving "the receipts for one test run". Bestie, let's get into it. πŸ’…

✨ NAME ✨

Test2::Harness::Run β€” Representation of a set of tests to run, and their options.

🌸 DESCRIPTION 🌸

ngl, the original left this one blank. Literally nothing here. We move. πŸ¦‹

πŸŽ€ ATTRIBUTES πŸŽ€

okay so these get set when the object is constructed and then they're locked in β€” you cannot modify them afterwards. No take-backs, no edits, periodt.

If you want the full tea on all of these, go read App::Yath::Options::Run, it has way more documentation. ✨

🫢 FROM OPTIONS

  • $bool = $run->author_testing β€” is author testing turned on
  • $hashref = $run->env_vars β€” the environment variables
  • $bool = $run->event_uuids β€” event UUIDs, on or off
  • $arrayref = $run->fields β€” the fields
  • $string = $run->input β€” the input
  • $path = $run->input_file β€” the path to the input file
  • $bool = $run->io_events β€” io events, yeah or nah
  • $arrayref = $run->links β€” the links
  • $arrayref = $run->load β€” the load
  • $hashref = $run->load_import β€” the load import
  • $bool = $run->mem_usage β€” memory usage, tracked or not
  • $int = $run->retry β€” the retry count, a whole integer bestie
  • $bool = $run->retry_isolated β€” retry in isolation, yes/no
  • $string = $run->run_id β€” the run id
  • $arrayref = $run->test_args β€” the test args
  • $bool = $run->unsafe_inc β€” unsafe inc flag
  • $bool = $run->use_stream β€” use the stream or don't

πŸ’œ OTHER

  • $hashref = $run->meta β€” meta-data plugins may have attached. πŸ‘€

πŸ”₯ METHODS πŸ”₯

  • $path = $run->run_dir($workdir) β€” hands you back the path "$workdir/$run_id". That's it, that's the whole thing. iconic.
  • $hashref = $run->queue_item(\@PLUGINS) β€” gets the queue item that represents this object. You pass it \@PLUGINS and it does the thing. ✨

🌈 SOURCE 🌈

The source code repo for Test2-Harness lives at http://github.com/Test-More/Test2-Harness/. go star it, it's free πŸ’–

πŸ‘‘ 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/


ok that's the whole page bestie, no cap 🧚 and for the cute sign-off: this lil masterpiece is from perl v5.40.1, dated 2026-05-10, and it's filed under Test2::Harness::Run(3pm). slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from