Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to find out if Gherkin can define repetitive tests for different input and output sets without repeating every stepdef for each case.

eg WHEN I search for <letter>
| letter |
| a |
| b |
| c |

THEN I get the following results list for each <letter>
| letter | result |
| a | 1 |
| a | 2 |
| a | 5 |
| b | 4 |
| b | 9 |
| b | 8 |
| c | 5 |
| c | 2 |
| c | 7 |

What I have tried:

I can't think of a way to implement this yet,, have been trying and wondered if anyone knows of any info on this please, as I have googled and can't find the right thing, so it is either not possible or I haven't use dthe right search! :)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900