DOKK / manpages / debian 11 / libtest-bdd-cucumber-perl / Test::BDD::Cucumber::Model::Scenario.3pm.en
Test::BDD::Cucumber::Model::Scenario(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Model::Scenario(3pm)

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

version 0.75

Model to represent a scenario

The text after the "Scenario:" keyword

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

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"

  Copyright 2019-2020, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
2020-12-30 perl v5.32.0