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\@PLUGINSand 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 π
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
- 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