pytest-dev / pytest-bdd

BDD library for the pytest runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.31k stars 221 forks source link

Scenario generation should use `scenarios` shortcut #535

Open youtux opened 2 years ago

youtux commented 2 years ago

The current template generates a test item for each scenario. We should just use the scenarios shortcut instead.

elchupanebrej commented 2 years ago

If https://github.com/pytest-dev/pytest-bdd/pull/342 become the default behavior - scenario/scenarios shortcuts won't be needed at all.