codegram/gherkin-ruby — Issue #7: Support tables
Author: woahdae
Created: 2011-11-17 18:00:24+00:00
State: open

I'm a fan of tables, and wanted to check to see if this is a feature you're planning to support. I was going to see about implementing it, but a friend pointed me to https://github.com/codegram/spinach/issues/62, so I figured I should ask to see if it's left out intentionally.

Just to be clear, here's an example. Let's say I'm writing a search feature for a time tracker:

Given I have the time sheet entries:
| 5 minutes | hiding kids |
| 10 minutes | hiding wife |
| 10 minutes | hiding husband |
| 20 minutes | finding rapist |
When I search for "hiding"
Then I should see the search results:
| hiding kids | 5 minutes |
| hiding wife | 10 minutes |
| hiding husband | 10 minutes |
And I should not see "finding rapist"

Is there a reason you wouldn't want to support this syntax?