skillfed

allure-behave

Allure behave integration

allure-behave v2.16.0 626.8K downloads/30d#5,686 on PyPI813
Permissive license Apache-2.0 Active released

What it is and what it does

Allure Behave is a formatter plugin that bridges Behave (a Python BDD framework) and Allure Report, capturing test execution data and converting it into Allure's structured report format. When you run Behave scenarios with this formatter, it generates JSON result files that Allure can then render into interactive HTML dashboards showing test outcomes, timings, attachments, and failure details.

The package works as a Behave formatter that you specify on the command line, or as a hook you call from your environment.py file for advanced scenarios like parallel test execution. It depends on behave for the test framework and allure-python-commons for the reporting infrastructure, making it a lightweight adapter rather than a standalone tool.

Use it for:

  • Generate visual test reports from Behave scenarios for CI/CD pipelines and team dashboards.
  • Track BDD test metrics and trends over time using Allure's built-in analytics.
  • Attach screenshots, logs, or other artifacts to failed Behave scenarios for debugging.
  • Integrate Behave test results into existing Allure Report infrastructure used by other test frameworks.
  • Document test execution history and link scenarios to requirements or test cases.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates Behave BDD test execution with Allure Report, generating detailed test reports and metrics from Behave scenarios.

Yes. Active maintenance, no security issues, low install friction, and a clear use case for teams already using Behave who want structured test reporting. The permissive Apache license poses no adoption barrier. Install if you run Behave scenarios and need Allure-compatible reports.

Install

allure-behave on PyPI

pip

pip install allure-behave

uv

uv add allure-behave

poetry

poetry add allure-behave

Installing allure-behave

Before you install

Low install friction with a pure Python wheel and only two runtime dependencies (behave and allure-python-commons). Actively maintained with recent releases and no known vulnerabilities.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must retain license notices.

Quickstart

pip install allure-behave
behave -f allure_behave.formatter:AllureFormatter -o ./allure_results ./features
allure serve ./allure_results

Requires Behave to be installed and feature files to exist; behave-parallel requires patching environment.py instead of using the formatter directly.

Verify before relying

  • Whether the package works with Python versions older than 3.8 despite no explicit requires_python constraint.
  • Performance characteristics when handling large numbers of scenarios or parallel test runs.

Package facts

License Apache-2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — behave, allure-python-commons
Maintenance actively maintained — 109 days since the last release
Last repo commit
First released
Downloads 626,811/month — #5,686 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: allure_behave-2.16.0-py3-none-any.whl

Keywords: allure, reporting, behave

Development Status :: 5 - Production/StableIntended 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

behave test reportingallure behave integrationBDD test reportsbehave formatter alluretest report generationbehave quality metricsallure report adapter
bdd-testingtest-reportingbehave

More Testing packages