pytest-dev/pytest-bdd
BDD library for the pytest runner observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4905
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
1461 stars · 248 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pytest-bdd is a pytest plugin that implements a subset of the Gherkin language for behavior-driven development (BDD). It lets you write feature files and bind Gherkin steps to pytest fixtures and test functions without needing a separate test runner.
Use cases
- write BDD-style acceptance tests in Gherkin with pytest
- reuse pytest fixtures as BDD step definitions via dependency injection
- automate project requirements testing from feature files
- unify unit and functional tests in one pytest run
- run Cucumber-style scenarios without a separate BDD runner
When to choose
- your team already uses pytest and wants BDD syntax
- you want to share fixtures and setup between unit and BDD tests
- you prefer Gherkin feature files for stakeholder-readable specs
When to avoid
- you need full Gherkin/Cucumber compatibility rather than a subset
- your project does not use pytest
- you need a standalone BDD runner independent of pytest
Facets
library · maturity active
testing e2e-testing testing developer-tools python cli cross-platform bdd pytest-plugin gherkin behavior-driven-development test-automation
2 sources
- readme: https://github.com/pytest-dev/pytest-bdd · fetched 2026-08-28 · 725ff59360e2
- registry_pypi: https://pypi.org/pypi/pytest-bdd/json · fetched 2026-08-29 · c03577e5f13b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytest-dev/pytest-bdd | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest-bdd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem