App::pherkin(3pm)
π NAME π
App::pherkin β bestie, it's literally just "run Cucumber tests from the command line" and honestly? iconic. π
β¨ VERSION β¨
version 0.87 π
πΈ SYNOPSIS πΈ
okay so this is the whole vibe:
pherkin
pherkin some/path/features/
that's it. that's the tea. π«
π¦ DESCRIPTION π¦
so pherkin is gonna go snooping around the directory you told it about β or if you didn't tell it anything, it'll just default to ./features/ β looking for two things, and it wants both:
- feature files, aka literally any file matching
*.featureπ - step definition files, aka any file matching
*_steps.plπ§
then it loads up all those step definitions and goes ahead and executes the features. no cap. π₯
and when it runs, the colours are giving a whole traffic light moment, assuming you're on the default output harness:
- steps that pass get printed in green β
- steps that fail get printed in red π
- steps that have no step definition at all get printed in yellow, because that's the TODO signal π
π METHODS π
π run
the App::pherkin class β which is, like, the whole engine behind the pherkin command β does all its thing through the run() method. πββοΈ
what does it take? currently just:
- a single path, as a string π£οΈ
- or nothing at all, it's flexible like that π
and what does it give you back? a Test::BDD::Cucumber::Model::Result object covering all the steps that ran. every single one. periodt. π
π AUTHOR π
Peter Sergeant pete@clueball.com π«Ά
π LICENSE π
Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
okay so that's the whole page, and lemme just say β this is from perl v5.40.1, dated 2025-05-29, and it's the App::pherkin(3pm) manual. go run some features bestie, you're gonna slay. πβ¨π¦
π¦ 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