Test::...:Loader(3pm)
π Test::...:Loader β bestie edition π
ok so this is Test::BDD::Cucumber::Loader, straight out of the User Contributed Perl Documentation section (3pm, iykyk), and honestly? it's giving β¨glue code that actually slapsβ¨. let's get into it π«Ά
πΈ NAME πΈ
Test::BDD::Cucumber::Loader β Simplify loading of Step Definition and feature files π
like. it loads your step defs. it loads your features. that's the whole vibe. no cap.
π VERSION π
version 0.87 β
π¦ DESCRIPTION π¦
Makes loading Step Definition files and Feature files a breeze... π
literally that's it, that's the whole description, and honestly? she ate. short. iconic. no notes. π
π METHODS π
π load
Accepts a path, and returns a Test::BDD::Cucumber::Executor object with the Step Definition files loaded, and a list of Test::BDD::Cucumber::Model::Feature objects. π«Ά
so you hand her a path, and she hands you back a whole executor + a whole list of Feature objects. two for one. main character energy fr fr.
π§ load_steps
Accepts an Test::BDD::Cucumber::Executor object and a string representing either a step file, or a directory containing zero or more "*_steps.pl" files, and loads the steps in to the executor; if you've used "load" we'll have already scanned the feature directory for "*_steps.pl" files. β¨
okay bestie, listen: zero or more "*_steps.pl" files. zero. like, an empty dir is valid, don't panic π
and if you already called "load"? then the feature directory has already been scanned for "*_steps.pl" files, so you're covered. no double-dipping needed π
π AUTHOR π
Peter Sergeant "pete@clueball.com" β π shoutout to the og π
β LICENSE β
Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
copy that exactly, bestie, don't paraphrase a license, that's the one thing you never freestyle π₯
and that's the whole page!! π¦ she's short, she's sweet, she loads your steps, periodt. go write some step definitions and slay π β¨
signing off from perl v5.40.1, dated 2025-05-29 β same energy, same facts, just cuter now ππ
π¦ 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