allure-pytest-bdd
Allure pytest-bdd integration
What it is and what it does
Allure-pytest-bdd is an adapter that connects Pytest-BDD test execution to Allure Report, a framework for generating detailed, interactive test reports. When you run Pytest-BDD tests with the --alluredir flag, this package captures test metadata, steps, and outcomes and writes them in Allure's format. You then use the Allure command-line tool to convert those results into a rich HTML report showing test execution history, step-by-step breakdowns, and pass/fail trends.
The package sits between your BDD test framework and Allure's reporting engine, requiring pytest, pytest-bdd, and allure-python-commons as runtime dependencies. It's designed for teams using behavior-driven development who want visibility into test execution beyond simple pass/fail counts—showing which Given/When/Then steps succeeded or failed, how long each took, and how results evolved over time.
Use it for:
- Generate detailed BDD test reports for CI/CD pipelines to track test execution history and identify flaky scenarios.
- Share interactive test results with non-technical stakeholders who need to see which features passed acceptance criteria.
- Debug failed BDD scenarios by reviewing step-by-step execution logs and timing data in the Allure UI.
- Integrate test reporting into a continuous delivery workflow where test metrics feed into dashboards.
- Document test coverage and behavior validation across multiple test runs and environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Allure Report with Pytest-BDD to capture and visualize behavior-driven test results in a detailed HTML report.
Yes. The package is actively maintained, has no known vulnerabilities, and low install friction. If you use Pytest-BDD and need rich, shareable test reports beyond console output, this adapter is the standard integration path. The Apache-2.0 license poses no restrictions.
Install
allure-pytest-bdd on PyPI
pip
pip install allure-pytest-bdduv
uv add allure-pytest-bddpoetry
poetry add allure-pytest-bddInstalling allure-pytest-bdd
Before you install
Low friction install with three straightforward runtime dependencies (pytest, pytest-bdd, allure-python-commons). The package is actively maintained with a recent release and no known vulnerabilities.
License in practice
Apache-2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install allure-pytest-bdd
pytest --alluredir=allure_results ./tests
allure serve allure_results
Requires pytest and pytest-bdd to be installed; Allure Report command-line tool must be available to generate and serve the HTML report.
Verify before relying
- Whether the package supports Python versions earlier than 3.8 despite classifiers listing 3.8 as the minimum.
- Performance characteristics when handling large numbers of BDD scenarios or complex test hierarchies.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pytest, pytest-bdd, allure-python-commons |
| Maintenance | actively maintained — 109 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 217,635/month — #9,354 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: allure_pytest_bdd-2.16.0-py3-none-any.whl
Keywords: allure, reporting, pytest
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
allure-behaveIntegrates Behave BDD test execution with…
permissive · top 15,000 on PyPI
allure-pytestIntegrates pytest with Allure Report to…
permissive · top 5,000 on PyPI
allure-robotframeworkIntegrates Robot Framework test execution with…
permissive · top 15,000 on PyPI
allure-python-commonsProvides the common API and object model for…
permissive · top 5,000 on PyPI
allure-pytest-default-resultsGenerates default "unknown" status results for…
unclear · top 15,000 on PyPI
allure-combineConverts an Allure test report folder into a…
permissive · top 15,000 on PyPI
pytest-bddpytest-bdd implements Gherkin-based…
permissive · top 5,000 on PyPI
behavexBehaveX extends Behave with parallel test…
unclear · top 15,000 on PyPI
behave-html-formatterGenerates HTML reports from Behave BDD test…
copyleft · top 15,000 on PyPI
qase-pytestA pytest plugin that reports test results to…
permissive · top 15,000 on PyPI