pytest-bdd
Pytest plugin implementing a subset of the Gherkin language, enabling behavior-driven development tests alongside regular pytest tests without extra runners.
Our Verdict
A pragmatic BDD option when your team already lives in pytest and does not want a second test runner.
Pros
- Gherkin syntax inside pytest, no second runner
- Reuses pytest fixtures in step definitions
- Lighter weight than behave
- Compatible with pytest-xdist parallelism
Cons
- Gherkin parsing less complete than Cucumber
- Less expressive than behave for pure BDD
- Limited IDE support vs full Cucumber tooling
When to Use pytest-bdd
Good fit if you need
- Gherkin scenarios executed natively within pytest
- Mix BDD scenarios with regular pytest tests in one run
- Step reuse across feature files via shared step modules
- Parametrize BDD scenarios with example table data
Pricing
Price wrong?pytest-bdd Pricing
- Pricing Model
- free
- Free Tier
- Yes
- Entry Price
- β
- Enterprise Available
- No
- Transparency Score
- β
Beta β estimates may differ from actual pricing
Estimated Monthly Cost
$25
Estimated Annual Cost
$300
Estimates are approximate and may not reflect current pricing. Always check the official pricing page.
Project Health
Health Score
9
today
N/A
86
1d
MIT
Last checked: 2026-04-21
Lock-in Assessment
π Thinking about migrating off pytest-bdd?
Get an AI-drafted migration plan + a copy-paste email to pytest-bdd support requesting a data export. Pick where you're moving to and tell us your context.
Looking for alternatives to pytest-bdd?
Answer 4 quick questions β get an AI-ranked shortlist of tools that match your stack and requirements.
Open AI Tool FinderCommunity Discussion
Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.