You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a recently asked question on SO about why backgrounds don't work with outlines. It is fairly obvious why they don't, but why shouldn't they? The proposition is to have background outlines similar to scenario outlines, when they are combined, the the scenario examples would overwrite / merge with the background ones.
Background Outline: Eating
Given there are <start> cucumbers
When I eat <eat> cucumbers
Examples:
| start | eat | | 1 | 1 |Scenario Outline: EatingThen I should have <left> cucumbers
Examples:
| start | eat | left | | 12 | 5 | 7 | | 20 | 5 | 15 |
How do you think value of this vs. work required to implement relate to each other? That would definitely make some tests neater, but it feels this would be a pain to implement knowing the code a little bit?
The text was updated successfully, but these errors were encountered:
Gherkin is not a programming language. Even though your example is by design overly simplistic, it does hurt my head already in attempt to figure out what it does. I can't even imagine what will it do with someone that never done programming before. So no.
Gherkin is not a programming language. Even though your example is by design is overly simplistic, it does hurt my head already in attempt to figure out what it does. I can't even imagine what will it do with someone that never done programming before. So no.
—
Reply to this email directly or view it on GitHub.
There's a recently asked question on SO about why backgrounds don't work with outlines. It is fairly obvious why they don't, but why shouldn't they? The proposition is to have background outlines similar to scenario outlines, when they are combined, the the scenario examples would overwrite / merge with the background ones.
How do you think value of this vs. work required to implement relate to each other? That would definitely make some tests neater, but it feels this would be a pain to implement knowing the code a little bit?
The text was updated successfully, but these errors were encountered: