Scroll to navigation

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

NAME

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

VERSION

version 0.86

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

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 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
2023-08-29 perl v5.36.0