Test::...ledObj(3pm)

πŸ“¦
version 0.0306 Β· 2 versions
, in fedora 43

πŸ’– 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 $result right on into the result() 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 $test to 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::Obj
  • Test::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