Scroll to navigation

Test::BDD::Cucumber::Model::Step(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Model::Step(3pm)

NAME

Test::BDD::Cucumber::Model::Step - Model to represent a step in a scenario

VERSION

version 0.86

DESCRIPTION

Model to represent a step in a scenario

ATTRIBUTES

text

The text of the step, once Scenario Outlines have been applied

verb

verb_original

The verb used for the step ('Given'/'When'/etc). "verb_original" is the one that appeared in the physical file - this will sometimes be "and".

line

The corresponding <Test:BDD::Cucumber::Model::Line>

data

Step-related data. Either a string in the case of """ or an arrayref of hashrefs for a data table.

data_as_strings

An arrayref of strings containing the original step's data, for printing out by harnesses

columns

If data was in a table format, then the column names will be here in the order they appeared.

AUTHOR

Peter Sergeant "pete@clueball.com"

LICENSE

  Copyright 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
2023-08-29 perl v5.36.0