BDD for pytest

Edit Package python-pytest-bdd

BDD library for the py.test runner

pytest-bdd implements a subset of Gherkin language for the automation of the project
requirements testing and easier behavioral driven development.

Unlike many other BDD tools it doesn't require a separate runner and benefits from
the power and flexibility of the pytest. It allows to unify your unit and functional
tests, easier continuous integration server configuration and maximal reuse of the
tests setup.

Pytest fixtures written for the unit tests can be reused for the setup and actions
mentioned in the feature steps with dependency injection, which allows a true BDD
just-enough specification of the requirements without maintaining any context object
containing the side effects of the Gherkin imperative declarations.

Refresh
Refresh
Source Files
Filename Size Changed
pytest-bdd-7.3.0.tar.gz 0000081595 79.7 KB
python-pytest-bdd.changes 0000006859 6.7 KB
python-pytest-bdd.spec 0000003419 3.34 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1204943 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 7.3.0:
  * Fix an issue when only the first Step would inject a fixture,
    while later steps would not be able to.
  * Test against the latest versions of pytest (8.2, 8.3).
Comments 0
openSUSE Build Service is sponsored by