NAME

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

VERSION

version 0.16

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 2011, Peter Sergeant; Licensed under the same terms as Perl