Your company here — click to reach over 10,000 unique daily visitors

Package python3-pytest-bdd

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.

Version: 7.2.0

General Commands

pytest-bdd pytest-bdd – BDD library for the py.test runner
pytest-bdd-generate pytest-bdd-generate – Generate test code with feature files
pytest-bdd-migrate pytest-bdd-migrate – Migrate outdated tests to the most recent form