Test::BDD::Cucumber::Model::Scenario - Model to represent a scenario
version 0.73
Model to represent a scenario
The text after the Scenario: keyword
Scenario:
The text between the Scenario line and the first step line
The associated Test:BDD::Cucumber::Model::Step objects
In case the scenario has associated datasets, returns the first one, unless it has tags associated (which wasn't supported until v0.63 of this module), in which case this method will die with an incompatibility error.
This (since v0.65 read-only) accessor will be removed upon release of v1.0.
The dataset(s) associated with a scenario.
Boolean flag to mark whether this was the background section
The keyword used in the input file (keyword_original) and its specification equivalent (keyword) used to start this scenario. (I.e. Background, Scenario and Scenario Outiline.)
keyword_original
keyword
Background
Scenario
Scenario Outiline
A Test::BDD::Cucumber::Model::Line object corresponding to the line where the Scenario keyword is.
Tags that the scenario has been tagged with, and has inherited from its feature.
Peter Sergeant pete@clueball.com
pete@clueball.com
Copyright 2019-2020, Erik Huelsmann Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
To install Test::BDD::Cucumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber
For more information on module installation, please visit the detailed CPAN module installation guide.