Test::...::Step(3pm)

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

πŸ’– Test::...::Step β€” the manual page, but make it a group chat πŸ’–

okay so bestie, you're looking at Test::BDD::Cucumber::Model::Step, which is a Perl module from the User Contributed Perl Documentation pile. it's the lil guy that models one single step inside a scenario. that's the whole vibe. no cap. πŸŽ€


✨ NAME ✨

Test::BDD::Cucumber::Model::Step β€” a model that represents a step in a scenario. literally its whole job. iconic behaviour, honestly. πŸ’…


🌸 VERSION 🌸

version 0.87 β€” yes, she's on 0.87, write it down, bestie πŸ¦‹


🫢 DESCRIPTION 🫢

Model to represent a step in a scenario. that's it, that's the description. she's a model, she models a step, she slays, periodt. ✨


πŸ‘‘ ATTRIBUTES πŸ‘‘

these are her fields. her little pockets of data. let's go through them one by one, no skipping, we do NOT skip in this house 🧚

  • text β€” the text of the step, once Scenario Outlines have been applied. so like, the final glow-up version of the sentence, not the template one 🌈
  • verb β€” the verb used for the step ('Given' / 'When' / etc.). this is the main character word at the front, okay? πŸ’…
  • verb_original β€” also the verb used for the step, BUT this one is the one that actually appeared in the physical file. and heads up: this will sometimes be "and". yes. "and". because the file said and and verb_original is a truth-teller who doesn't lie about what was written down πŸ™ˆ
  • line β€” the corresponding <Test:BDD::Cucumber::Model::Line>. the lil line object she's attached to, iykyk πŸ’œ
  • data β€” step-related data. either a string, in the case of """, or an arrayref of hashrefs for a data table. so she can hold a plain blob of text OR a whole table situation, she's flexible like that πŸ“
  • data_as_strings β€” an arrayref of strings containing the original step's data, for printing out by harnesses. this one exists so the harnesses can print stuff nicely, it's giving helpful πŸŽ€
  • columns β€” if the data was in a table format, then the column names will be here, in the order they appeared. order preserved, bestie, we respect the original layout πŸ‘‘

πŸ’– AUTHOR πŸ’–

Peter Sergeant "pete@clueball.com" β€” the original author, we love him, we thank him 🫢


🌈 LICENSE 🌈

Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
so yeah: 2019-2023 belongs to Erik Huelsmann, 2011-2019 belongs to Peter Sergeant, and it's licensed under the same terms as Perl. keep those years exact, they matter πŸ’€

and that's the page, bestie!! that was Test::...::Step from the User Contributed Perl Documentation, version 0.87, and this whole thing was generated with perl v5.40.1 on 2025-05-29. mwah, go forth and model your steps πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from