---
name: "Test::BDD::Cucumber::Model::Scenario"
section: "3pm"
platform: "linux"
package: "libtest-bdd-cucumber-perl"
version: "0.87-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::BDD::Cucumber::Model::Scenario"
---

# Test::BDD::Cucumber::Model::Scenario(3pm)

Model to represent a scenario

## NAME

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

## VERSION

version 0.87

## 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
```
