[rspec-users] Cucumber Scenario syntax
dchelimsky at gmail.com
Fri Sep 12 12:26:46 EDT 2008
On Fri, Sep 12, 2008 at 11:19 AM, Evan David Light
<lists at tiggerpalace.com> wrote:
> 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
>> 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.
> I believe that binding the table to the phrasing would be immensely
> useful and perhaps even crucial to Scenario authors.
Can you give an example of how this would be helpful?
> Also, couldn't your second example also support binding to the table
Anything is possible :) How would you envision that working. What
would trigger binding one word in a phrase to a header?
More information about the rspec-users