burtlo/yard-cucumber — Issue #29: Differences between Tables
Author: ardavis
Created: 2011-11-02 01:36:07+00:00
State: open

I have just realized that yard-cucumber automatically converts the first item in a table to be a header. However, in many cases, this will not be true.

Using an example similar to the (currently beta) Cucumber Book, you can say things like:

Given my shopping cart contains the following items:
| cheese |
| onion |
| sauce |
| oranges |

This would case cheese to be a header in the documentation, when in reality, it's just a list of items.

I cannot come up with a way to distinguish a list of items from a table with a header.

Thoughts?