BDD for pytest
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.
- Developed at devel:languages:python:pytest
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/python-pytest-bdd && cd $_
- Create Badge
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
- 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