[rspec-users] Cucumber Scenario syntax

Evan David Light lists at tiggerpalace.com
Fri Sep 12 12:19:30 EDT 2008

On Sep 12, 2008, at 12:14 PM, David Chelimsky wrote:

> What you're proposing might look this:
> Scenario: division
>  Given a numerator
>  And a denominator
>  Then the calculator should provide a quotient
>  |numerator|denominator|quotient|
> This will put some constraints on the phrasing that might be a good
> thing, might not.

	I agree that my proposal is not necessarily the answer.

> What if we just allowed free text in there that was not at all bound
> to the table:
> Examples: division
>  When you divide a numerator by a denominator,
>  the calculator should provide the quotient.
>  |numerator|denominator|quotient|

	I believe that binding the table to the phrasing would be immensely  
useful and perhaps even crucial to Scenario authors.

	Also, couldn't your second example also support binding to the table  


More information about the rspec-users mailing list