Forum: RSpec Cucumber 0.3.3 - Examples:

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2009-05-11 23:03
Am I correct when I infer that the "Examples" keyword is now only valid
in a Scenario Outline?  If so, in what version did this change take
place?
C694a032be7518a0d704318895f8fe1d?d=identicon&s=25 Ben Mabey (mabes)
on 2009-05-12 00:48
(Received via mailing list)
James Byrne wrote:
> Am I correct when I infer that the "Examples" keyword is now only valid
> in a Scenario Outline?  If so, in what version did this change take
> place?
>


Yes... "Examples" is only valid in Scenario Outlines, but you can also
use "Scenarios" as well.  I don't remember being able to use "Examples"
outside of the of Scenario Outlines.  Where were you using it before?
My guess is that if you were using it before it was an unintentional
feature that was removed when things were cleaned up.  Aslak or Joesph
could give you a more definitive answer.  In short, I don't know what
version this change happened in- sorry.

-Ben
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2009-05-12 02:54
Ben Mabey wrote:
> In short, I don't know what version this change happened in- sorry.
>

It was just idle curiosity that prompted the question.
0be0e4aa42aacd9a8a95c792de273ca7?d=identicon&s=25 Aslak Hellesøy (aslakhellesoy)
on 2009-05-12 14:12
(Received via mailing list)
> Am I correct when I infer that the "Examples" keyword is now only valid
> in a Scenario Outline?  If so, in what version did this change take
> place?


>From version 0.2.0 (released on 2009-03-18).
See History.txt for details. Excerpt:

* "More Examples" is gone. "Scenario" + "More Examples" is no longer
supported. Use "Scenario Outline" + "Examples" instead.

Aslak
This topic is locked and can not be replied to.