Test::...ledObj(3pm)
π Test::Run::Obj::CanonFailedObj π
okay bestie, so this page is all about Test::Run::Obj::CanonFailedObj β the failed tests canon object. that's literally the whole vibe. it's a Perl thing, it lives in the user-contributed Perl docs, and it's here to keep track of your failures in the most canon way possible. no cap. β¨
πΈ METHODS πΈ
here's every single method, fr fr. don't skip any, they all matter. π«Ά
$self->add_result($result)β pushes$resultright on into theresult()slot. just yeets it in there. π$self->get_ser_results()β hands you back the serialized results. the fancy packaged version, yk?$self->add_Failed($test)β adds a failed test$testto the diagnostics. welcome to the fail pile, babe. π$self->add_skipped($test)β adds a skipped test. not a fail, just a lil "we didn't do this one". π$self->good()β returns the number of good tests. and by good we mean non-failing or skipped. the main characters. π$self->add_Failed_and_skipped($test)β adds a test as both failed and skipped. it's giving versatile. it's giving overachiever. π₯$self->canon_list()β returns the the failed tests as a list of ranges. (yes, "the the" β that's canon, bestie, we don't touch it.)my $string = $self->canon()β returns the canon as a space-delimited string. look at it go. β¨$self->result()β the non-serialized result of the test. the raw, unfiltered version. π$self->failed_num()β returns the number of failed tests. a count. a number. a whole mood. π$self->add_skipped($test)β adds a skipped test. yes, again. it's listed twice in the original and we respect that. double the skipped energy, double the slay. π
π LICENSE π
this file is licensed under the MIT X11 License, periodt:
http://www.opensource.org/licenses/mit-license.php
π¦ AUTHOR π¦
Shlomi Fish, <http://www.shlomifish.org/> β the icon, the legend, the moment. π
π SEE ALSO π
Test::Run::ObjTest::Run::Core
okay that's the whole page, bestie, you ate that π β this was perl v5.42.0 energy from 2025-07-25, so go forth and canon your failures. mwah ππ§
π¦ where this page comes from
- fedora 43: perl-Test-Run 0.0306-3.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-2.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms