Test::...Feature(3pm)

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

πŸ’– 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 β€” a Test::BDD::Cucumber::Model::Line object 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 corresponding Test::BDD::Cucumber::Model::Document object. her origin story. πŸ“„
  • background β€” the Test::BDD::Cucumber::Model::Scenario object 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 the Test::BDD::Cucumber::Model::Scenario objects 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