behavex
Production-grade test orchestration for Python BDD.
What it is and what it does
BehaveX is a test orchestration layer built on top of Behave, the Python BDD framework. It adds parallel execution (by feature or scenario across multiple processes), enterprise-grade HTML reporting with screenshots and logs, Allure integration, and operational features like auto-retry, test muting, and execution ordering. Your existing Behave feature files and step definitions work unchanged—it's designed as a zero-friction upgrade.
The package is actively maintained and widely used in production environments, including by the Apache Foundation, LambdaTest, and SovereignCloudStack. It depends on Behave itself plus reporting libraries (Allure, Jinja2), HTML/CSS compression utilities, and configuration parsing. Installation is straightforward and low-friction.
Use it for:
- Run a large BDD test suite in parallel across multiple processes to reduce total execution time.
- Generate shareable HTML reports with embedded screenshots, logs, and pass/fail metrics for stakeholder review.
- Integrate BDD tests with Allure reporting for enterprise test management and CI/CD dashboards.
- Automatically retry failed scenarios using @AUTORETRY tags without re-running the entire suite.
- Tag and order scenarios for dependency-aware execution using @ORDER_001 and Cucumber-style tag expressions.
- Dry-run feature files to generate a spec report without executing any steps.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
BehaveX extends Behave with parallel test execution, enterprise HTML/Allure reporting, and operational controls for running BDD test suites at scale.
Yes. BehaveX is production-grade, actively maintained, has no known vulnerabilities, and is MIT-licensed. It extends Behave with genuinely useful operational features (parallel execution, enterprise reporting, auto-retry) that are not available in Behave alone. Low install friction and broad Python version support make it a straightforward upgrade for teams already using Behave who need scale and visibility.
Install
behavex on PyPI
pip
pip install behavexuv
uv add behavexpoetry
poetry add behavexInstalling behavex
Before you install
Low friction: pure Python wheel with 8 runtime dependencies. Actively maintained with a release 84 days ago and continuous commits. Supports Python 3.8 through 3.13.
License in practice
MIT license grants unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.
Quickstart
pip install behavex
behavex -t=@smoke --parallel-processes=4 --parallel-scheme=scenario
Verify before relying
- Whether the 121,000+ monthly downloads figure cited in the description matches the 171,472 downloads in the fact sheet (different time periods or sources may explain the discrepancy).
- Performance characteristics and overhead of parallel execution relative to sequential Behave runs.
- Compatibility details with specific versions of Behave >= 1.3.0 and whether older Behave versions are supported.
Package facts
| License | The MIT License (MIT) Copyright (c) 2021 Hernan Rey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),… (full text in the JSON record) (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — behave, behavex-images, allure-python-commons, jinja2, configobj, minify-html, csscompressor, packaging |
| Maintenance | actively maintained — 84 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 171,472/month — #10,365 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: behavex-4.6.5-py3-none-any.whl
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
behavebehave is a behavior-driven development (BDD)…
permissive · top 5,000 on PyPI
behavex-imagesAttaches images to BehaveX HTML test reports,…
permissive · top 15,000 on PyPI
allure-behaveIntegrates Behave BDD test execution with…
permissive · top 15,000 on PyPI
behave-djangoIntegrates Behave BDD testing into Django…
permissive · top 15,000 on PyPI
behave-reportportalIntegrates Behave BDD test execution with…
permissive · top 15,000 on PyPI
cucumber-tag-expressionsParses and evaluates boolean tag expressions…
permissive · top 5,000 on PyPI
vedroVedro is a scenario-style testing framework for…
permissive · top 15,000 on PyPI
behave-html-formatterGenerates HTML reports from Behave BDD test…
copyleft · top 15,000 on PyPI
allure-pytest-bddIntegrates Allure Report with Pytest-BDD to…
permissive · top 15,000 on PyPI
toxtox automates testing across multiple Python…
permissive · top 1,000 on PyPI