Replies: 1 comment 2 replies
-
I'm sorry but this is not supported out of the box. The only workaround I can think of is to make your own function that generates scenario files programmatically, and call it at import time in your test module. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to use pytest-bdd features (like the "given" decorator) without writing gherkin ".feature" file, but just based on list of strings ?
For exmple I have this list as an input :
Now I would like to execute those steps using a simple for loop that iterates through the
some_steps
variable.Let's say for instance that I expect those functions to be called :
Beta Was this translation helpful? Give feedback.
All reactions