| 1 |
Feature: Multiple Scenarios |
| 2 |
As a developer using Test::BDD::Cucumber, |
| 3 |
I want to ensure that I can use multiple Scenarios in a Feature. |
| 4 |
|
| 5 |
Scenario: First test |
| 6 |
Given a Digest MD5 object |
| 7 |
When I add "foo" to the object |
| 8 |
And I add "bar" to the object |
| 9 |
Then the results look like |
| 10 |
| method | output | |
| 11 |
| hexdigest | 3858f62230ac3c915f300c664312c63f | |
| 12 |
| b64digest | 1B2M2Y8AsgTpgAmY7PhCfg | |
| 13 |
|
| 14 |
Scenario: Last step with multiline string |
| 15 |
Given a Digest MD5 object |
| 16 |
When I add "foo" to the object |
| 17 |
And I add "bar" to the object |
| 18 |
Then the hexdigest looks like: |
| 19 |
""" |
| 20 |
3858f62230ac3c915f300c664312c63f |
| 21 |
""" |
| 22 |
And the b64digest looks like: |
| 23 |
""" |
| 24 |
1B2M2Y8AsgTpgAmY7PhCfg |
| 25 |
""" |
| 26 |
|
| 27 |
Scenario: First test all over again |
| 28 |
Given a Digest MD5 object |
| 29 |
When I add "foo" to the object |
| 30 |
And I add "bar" to the object |
| 31 |
Then the results look like |
| 32 |
| method | output | |
| 33 |
| hexdigest | 3858f62230ac3c915f300c664312c63f | |
| 34 |
| b64digest | 1B2M2Y8AsgTpgAmY7PhCfg | |