Test::...:Loader(3pm)

πŸ“¦
version 0.87 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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