简体   繁体   中英

Cucumber Table Diff and colspan

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

Can you use comments? For example:

Then the user should have these friends:
  # Friend List
  | Mike | Nicholaides | Best-Friend |
  | John | Stamos      | OK-Friend   |

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

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

黄瓜的最新版本引入了tablish功能-非常优雅地解决了这个问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM