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

Background keyword #16

Closed maikelwever closed 10 years ago

maikelwever commented 11 years ago

If I noticed this correctly, there is currently no support for Gherkin's background keywords. Is this a design decision, or is it just not implemented yet?

You can read up on background keywords here: http://docs.behat.org/guides/1.gherkin.html#backgrounds

bubenkoff commented 11 years ago

Thanks for noticing Its by implementation not required as we use pyres fixtures dependency injection eg your given can easily depend on what you need But generally speaking it would be nice to have I agree as it will make scenarios more explicit On 9 Sep 2013 10:59, "Maikel Wever" notifications@github.com wrote:

If I noticed this correctly, there is currently no support for Gherkin's background keywords. Is this a design decision, or is it just not implemented yet?

You can read up on background keywords here: http://docs.behat.org/guides/1.gherkin.html#backgrounds

— Reply to this email directly or view it on GitHubhttps://github.com/olegpidsadnyi/pytest-bdd/issues/16 .

bubenkoff commented 10 years ago

starting on this