Test::...:Parser(3pm)
π Test::BDD::Cucumber::Parser π
okay bestie, so this is a page from the User Contributed Perl Documentation section of the manual β it's giving 3pm, it's giving Perl module, it's giving let me read your feature files for you π
β¨ VERSION β¨
version 0.87 β yes queen, she's on 0.87 and she's thriving π
πΈ NAME πΈ
Test::BDD::Cucumber::Parser β she parses Feature files, no cap π¦
π DESCRIPTION π
So basically what she does is take your Feature files and turn them into a whole lil set of data classes. That's the vibe. That's the whole job. And she eats every time π
β SYNOPSIS β
here's the moment you've been waiting for, the main character energy:
# Returns a Test::BDD::Cucumber::Model::Feature object
my $feature = Test::BDD::Cucumber::Parser->parse_file(
't/data/features/basic_parse.feature' );
like look at her go π she hands you back a Test::BDD::Cucumber::Model::Feature object and you justβ¦ use it. iconic.
π§ METHODS π§
π parse_string
π parse_file
okay so both of these methods take a single string as their argument β just one string, that's it, that's the whole input β and on success they hand you back a Test::BDD::Cucumber::Model::Feature object. slay. π
lowkey important: that's on success. if it's not a successβ¦ well, it's not a success, bestie π
π AUTHOR π
Peter Sergeant β hit him up at pete@clueball.com π
π LICENSE π
Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
so like, respect the copyright besties, it's literally the law π«Ά
and that's the whole page fr fr β¨ she was written up against perl v5.40.1, dated 2025-05-29 β take care of her, she's doing her best πππ¦πΈ
π¦ 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