Test::...Result(3pm)
β¨ Test::...Result β¨
okay bestie, so this is Test::BDD::Cucumber::Model::Result β it's a lil Perl module (a 3pm manpage, iykyk) and it does exactly one iconic thing: it encapsulates a result state. that's it. that's the whole vibe. π
and like, we're on version 0.87 bestie, so you're running the good stuff. π
π¦ DESCRIPTION π¦
it's an encapsulation of result state β whether that's for a step, a scenario, or a feature. one object, one truth, no cap. π
πΈ ATTRIBUTES πΈ
result
an enum, babes. the options are exactly: "passing", "failing", "pending" or "undefined".
"pending"gets used if there was any TODO output from a test"undefined"is for a test that wasn't run β either because there was no matching step, or because a previous step failed π
output
the underlying test-output that contributed to a result. literally the receipts. π§Ύβ¨
π METHODS π
from_children
collates the Result objects you pass in, and returns one that encompasses all of them. it's giving found family energy fr fr. π«Ά
and because they may be varied, it runs through them in order of "failing", "undefined", "pending" and "passing" β the first it finds is the overall result. and the empty set? it passes. slay. π
ngl bestie, that order matters β "failing" wins over everything, so one bad apple really does spoil the whole batch. π
perl v5.40.1 π 2025-05-29 β mwah, that's the version and date, and the manpage is Test::...Result(3pm). go forth and collate, queen. βπ¦π
π¦ where this page comes from
- debian trixie: libtest-bdd-cucumber-perl 0.87-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-bdd-cucumber-perl 0.87-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-bdd-cucumber-perl 0.87-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