skillfed

allure-pytest-bdd

Allure pytest-bdd integration

allure-pytest-bdd v2.16.0 217.6K downloads/30d#9,354 on PyPI813
Permissive license Apache-2.0 Active released

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-bdd

uv

uv add allure-pytest-bdd

poetry

poetry add allure-pytest-bdd

Installing 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

Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Software Development :: Testing :: BDD

Tags

pytest bdd test reportingallure report integrationbdd test visualizationpytest allure adapterbehavior driven development reportingtest result documentationbdd test metrics
bdd-testingtest-reportingpytest-plugin

More Testing packages