Subject: | Scenarios following a Scenario Outline are ignored |
Date: | Sun, 18 Mar 2012 18:03:52 +0100 |
To: | bug-Test-BDD-Cucumber [...] rt.cpan.org |
From: | intrigeri <intrigeri [...] boum.org> |
features/basic.feature contains the "MD5 longer data" scenario after
the "Check SHA-1" one; however, the "MD5 longer data" scenario is not
run:
$ cd examples/digest
$ pherkin
Simple tests of Digest.pm
As a developer planning to use Digest.pm
I want to test the basic functionality of Digest.pm
In order to have confidence in it
Background:
Given a usable "Digest" class
Scenario: Check MD5
Given a Digest MD5 object
When I've added "foo bar baz" to the object
When I've added "bat ban shan" to the object
Then the hex output is "bcb56b3dd4674d5d7459c95e4c8a41d5"
Then the base64 output is "1B2M2Y8AsgTpgAmY7PhCfg"
Scenario: Check SHA-1
Given a Digest SHA-1 object
When I've added "foo" to the object
Then the hex output is "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33"
Scenario: Check SHA-1
Given a Digest SHA-1 object
When I've added "bar" to the object
Then the hex output is "62cdb7020ff920e5aa642c3d4066950dd1f01f4d"
Scenario: Check SHA-1
Given a Digest SHA-1 object
When I've added "baz" to the object
Then the hex output is "bbe960a25ea311d21d40669e93df2003ba9b90a2"