Test::...Feature(3pm)
π Test::BDD::Cucumber::Model::Feature π
okay bestie, welcome to Test::BDD::Cucumber::Model::Feature β she's the model that holds a feature file once it's been parsed, and she's iconic. This page is from the User Contributed Perl Documentation, and it's giving very much "I parse your Gherkin so you don't have to" energy. π
β¨ VERSION β¨
This is version 0.87. no cap, that's the one. π¦
πΈ DESCRIPTION πΈ
Model to represent a feature file, parsed. That's it, that's the whole vibe β she's a parsed feature file in object form, your fave little data container. π
π ATTRIBUTES π
every single one of her lil fields, coming right up:
nameβ the text that comes after the"Feature:"keyword. literally just the feature's name, bestie. β¨name_lineβ aTest::BDD::Cucumber::Model::Lineobject corresponding to the line the"Feature"keyword was found on. so she knows exactly where she came from. πsatisfactionβ an arrayref of strings of the Conditions of Satisfaction. yes queen, list your conditions. π«Άdocumentβ the correspondingTest::BDD::Cucumber::Model::Documentobject. her origin story. πbackgroundβ theTest::BDD::Cucumber::Model::Scenarioobject that was marked as the background section. the supporting character that shows up in every scene. π¬keyword_originalβ the keyword used in the input file; equivalent to specification keyword"Feature". so like, whatever you actually typed, preserved verbatim. πscenariosβ an arrayref of theTest::BDD::Cucumber::Model::Scenarioobjects that constitute the test. all her main characters, in a list. πtagsβ tags that the feature has been tagged with, and will pass on to its Scenarios. she shares the love downstream, fr fr. π·οΈlanguageβ language the feature is written in. Defaults to'en'. multilingual queen π
π AUTHOR π
Peter Sergeant "pete@clueball.com" β we stan. π
π LICENSE π
Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
okay so this is the legal bit and you gotta keep it exactly as-is β don't be out here editing copyright lines, bestie, that's not the move. π
and that's the whole page!! tysm for reading, go forth and parse some features πΈπ¦β¨
perl v5.40.1 Β· 2025-05-29 Β· Test::...Feature(3pm) β mwah, ily, bye bestie πππ
π¦ 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