The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::BDD::Cucumber::Model::Scenario - Model to represent a scenario

VERSION

version 0.70

DESCRIPTION

Model to represent a scenario

ATTRIBUTES

name

The text after the Scenario: keyword

description

The text between the Scenario line and the first step line

steps

The associated Test:BDD::Cucumber::Model::Step objects

data [deprecated]

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.

datasets

The dataset(s) associated with a scenario.

background

Boolean flag to mark whether this was the background section

keyword

keyword_original

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.)

line

A Test::BDD::Cucumber::Model::Line object corresponding to the line where the Scenario keyword is.

tags

Tags that the scenario has been tagged with, and has inherited from its feature.

AUTHOR

Peter Sergeant pete@clueball.com

LICENSE

Copyright 2011-2016, Peter Sergeant; Licensed under the same terms as Perl