Reputation: 1
Writing step definitions while using array of inputs in Gherkin Acceptance Test(BDD - approach)
Example scenario :-
Scenario: Assume something
Given Assume something
When I have 3 numbers "<numbers>" as given below
| numbers |
| 1 |
| 2 |
| 3 |
Then Assume something
In java code :-
I don't know how to write the step definition for the above scenario without any regex in java code
Could someone write the step definition for the above scenario and change the data table into list of numbers
Upvotes: 0
Views: 44