behavex-images
BehaveX extension library to attach images to the test execution report.
Decision gist · record as of 2026-08-14
Yes, if you use BehaveX and need visual evidence in test reports. Install friction is low and the library is straightforward. However, the aging maintenance status (364 days since last release, minimal repository activity) means you should verify compatibility with your BehaveX version before relying on it for production test pipelines. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires BehaveX and Behave to be installed; context object must be available from a BehaveX step or hook.
- Low install friction with a pure Python wheel.
- Maintenance status is aging—last release was 364 days ago and the repository has minimal activity (1 star), though it remains unarchived and the last commit is recent.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
last release 2025-08-15 (364 days) · last repo commit 2025-08-15 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 145,303 downloads/mo, #11,128 on PyPI
Alternatives
Verify before relying
pip install behavex-images
from behavex_images import image_attachments
image_attachments.attach_image_file(context, 'path/to/screenshot.png')- Whether image attachment works with all BehaveX versions or if specific version compatibility constraints exist beyond what the fact sheet indicates.
- Performance impact when attaching many images or large binary payloads to reports.
- Whether the package handles image format validation or only JPG and PNG as documented.
What it is and what it does
behavex-images is a small extension library that plugs into BehaveX to embed images directly into the HTML reports generated from Behave test runs. It provides four main methods: attaching images from binary data (e.g., screenshots from Selenium), attaching images from file paths, setting conditions for when images should be included (always, only on failure, or never), and clearing attached images. The library depends on BehaveX, Behave, Pillow for image handling, and filelock for concurrency safety.
You use it by importing the image_attachments module and calling its methods from within step definitions or environment hooks. It's designed to integrate seamlessly into existing BehaveX projects without requiring changes to test structure—you simply call the attachment methods at the points where you want images captured (e.g., after taking a screenshot in a Selenium test).
Use it for
- Embed screenshots into test reports automatically after each step or only when a test fails, for visual debugging.
- Attach Selenium WebDriver screenshots to BehaveX HTML reports to document test execution state.
- Include pre-generated images (diagrams, UI mockups, reference images) in test reports for comparison or documentation.
- Set a global attachment condition in environment.py hooks to control whether images appear in all reports or only failure reports.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use BehaveX and need visual evidence in test reports.
Install friction is low and the library is straightforward. However, the aging maintenance status (364 days since last release, minimal repository activity) means you should verify compatibility with your BehaveX version before relying on it for production test pipelines. No known vulnerabilities.
Install
behavex-images on PyPI
Before you install
Low install friction with a pure Python wheel. Maintenance status is aging—last release was 364 days ago and the repository has minimal activity (1 star), though it remains unarchived and the last commit is recent.
Requires BehaveX and Behave to be installed; context object must be available from a BehaveX step or hook.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
Quickstart
pip install behavex-images
from behavex_images import image_attachments
image_attachments.attach_image_file(context, 'path/to/screenshot.png')
Verify before relying
- Whether image attachment works with all BehaveX versions or if specific version compatibility constraints exist beyond what the fact sheet indicates.
- Performance impact when attaching many images or large binary payloads to reports.
- Whether the package handles image format validation or only JPG and PNG as documented.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesbehavexbehavepillowfilelock |
| Maintenance | Aging 364 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 145,303 / month, #11,128 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming 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 :: Testing |
Evidence: behavex_images-3.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “behave test report images”
- behavex-imagesAttaches images to BehaveX HTML test reports, supporting both binary…
- allure-behaveIntegrates Behave BDD test execution with Allure Report, generating…
- behave-html-formatterGenerates HTML reports from Behave BDD test runs by registering as a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also behavex · allure-behave · behave-reportportal · behave · pytest-html-reporter · reportportal-client · behave-html-formatter · percy-selenium · html2image · behave-django