-
-
Notifications
You must be signed in to change notification settings - Fork 686
Description
🤔 What's the problem you're trying to solve?
I use Scenario Outline to define examples for the same test. However the tests are then all called the same, as the example argument is the only thing differnt and it is only used in one When statement.
✨ What's your proposed solution?
I dont want to write a new scenario per test, it would be great, if the Scenario Outline would accept arguemts as the When statement does. Some syntax like
Scenario outline: Successfully add a "<argument>" user
Given ....
When I add a new "<argument>" user
Then I assert the new created user
Examples:
| argument |
| super |
| default | ...
⛏ Have you considered any alternatives or workarounds?
Currently there are two options. Write a scenario per test, even if the complete tests only dependes on one variable and describe the variable in the scenario (making no proper use of the variable) or write a very generic Test scenario. Then the differntiation between each run are only the Number behind Examples.
📚 Any additional context?
This text was originally generated from a template, then edited by hand. You can modify the template here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status