Test::...:Parser(3pm)

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

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