pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

fix step arguments with default value

Open samuelspagl opened this issue 2 years ago • 0 comments
trafficstars

The bug is mentioned in the issue #607. This is a sample implementation trying minimal invasive by implementing a new function that retrieves all arguments with default values.

Another solution would be to let get_args retrieve a dict with the arguments as keys and its values as values. But this would add two or three more changes I think, therefore I didn't implement this solution.

I'm really looking forward hearing from you.

Best Samuel

samuelspagl avatar Apr 18 '23 09:04 samuelspagl