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
As far as I know, it is not possible to use examples tables in background step. This feature could allow to run multiple times scenario of a feature with differents given steps.
It could be nice to be able to do something like this:
To help us understand this feature request a bit better, what is the underlying problemen you are trying to solve? Do you have a more comprehensive example?
Historically speaking, the general consensus has been that programming features don't belong in Gherkin. As they make the scenario much harder to understand for non-technical users.
It would for example be difficult to determine just by reading which examples are used where. Especially when an example table is used in the background in combination with with a scenario outline.
As a workaround, what usually does work is to create a list of things (e.g. users) using a data table in the given step of the background. All scenarios then use all these users.
🤔 What's the problem you're trying to solve?
As far as I know, it is not possible to use examples tables in background step. This feature could allow to run multiple times scenario of a feature with differents given steps.
It could be nice to be able to do something like this:
Feature: aFeature
Background
Given user1 is
✨ What's your proposed solution?
⛏ Have you considered any alternatives or workarounds?
📚 Any additional context?
This text was originally generated from a template, then edited by hand. You can modify the template here.
The text was updated successfully, but these errors were encountered: