Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-BDD-Cucumber CPAN distribution.

Report information
The Basics
Id: 75859
Status: resolved
Priority: 0/
Queue: Test-BDD-Cucumber

People
Owner: Nobody in particular
Requestors: intrigeri [...] boum.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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"
I can't replicate this - could you confirm you have the most recent version installed? This looks suspiciously like an older bug. Thanks for reporting this! -P On Sun Mar 18 13:04:15 2012, intrigeri@boum.org wrote: Show quoted text
> 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"
Ooops, apologies, I have it replicating now. I'll look in to it - thanks!
This issue is now resolved. 0.05 is making its way to the CPAN - if you can't wait until it gets mirrored, you can grab directly from github: https://github.com/sheriff/test-bdd-cucumber-perl