Easy to test more scenarios
There two benefits from my side:
Compared with previous hard code version as shown below, it is easy to change parameter value because in most scenarios the value in example could not work as expected. And the check value could be applied to new value automatically.
When we want to test other parameter set, we could just change the value in test scenario with kwargs change and reuse existing test step.
Is your feature request related to a problem? Please describe.
If without the feature, I have to write more example steps with different parameter values
Describe the solution you'd like
Generate example steps with customized parameter, e.g. {rg} not hard-coded one e.g. test-resource-group
Describe alternatives you've considered
Write more example steps with different parameter values manually
Why do you need this feature?
Easy to test more scenarios There two benefits from my side:
Is your feature request related to a problem? Please describe.
If without the feature, I have to write more example steps with different parameter values
Describe the solution you'd like
Generate example steps with customized parameter, e.g. {rg} not hard-coded one e.g. test-resource-group
Describe alternatives you've considered
Write more example steps with different parameter values manually
Additional context