views:

267

answers:

2

Hi guys,

I love cucumber, and its table diff feature. But I, often use a td colspan to display the title of the table. And I can't seem to get the table diff to work when I use colspan. (Table diff expects a 2d array, and the colspan breaks it)

Has anyone be able to get this to work.

Thanks!

Jonathan

A: 

Can you use comments? For example:

Then the user should have these friends:
  # Friend List
  | Mike | Nicholaides | Best-Friend |
  | John | Stamos      | OK-Friend   |
nicholaides
That did not work for me, I got a Cucumber::Parser::Syntax error.But I like your syntax, I would have loved if that worked.`Parse error, expected one of "\n", "\r", "#", "Given", "When", "Then", "And", "But", "@", "Scenario", "Scenario Outline". (Cucumber::Parser::SyntaxError)`
Jonathan
A: 

Do you have more than 1 feature in one of your feature file?

Cucumber dose not allow it and would raise the Parse error.

Kevin
No just the one feature, I am not getting a parse error.
Jonathan