BDD library for the py.test runner
pytest-bdd implements a subset of the Gherkin language to enable automating project requirements testing and to facilitate behavioral driven development. Unlike many other BDD tools, it does not require a separate runner and benefits from the power and flexibility of pytest. It enables unifying unit and functional tests, reduces the burden of continuous integration server configuration and allows the reuse of test setups. Pytest fixtures written for unit tests can be reused for setup and actions mentioned in feature steps with dependency injection. This allows a true BDD just-enough specification of the requirements without maintaining any context object containing the side effects of Gherkin imperative declarations.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 5.0.0-4.fc36 | - |
Fedora 35 | 4.1.0-1.fc35 | - |
You can contact the maintainers of this package via email at
python-pytest-bdd dash maintainers at fedoraproject dot org
.