allure-pytest-default-results
Generate default "unknown" results to show in Allure Report if test case does not run
What it is and what it does
This pytest plugin extends allure-pytest to handle test cases that never execute—cases skipped due to setup failures, timeouts, or CI interruptions. By default, allure-pytest only reports tests that actually ran, leaving gaps in the Allure Report. This plugin generates placeholder "unknown" status results for each expected test case before the test run, then merges them with actual results afterward, so unrun tests appear in the report instead of vanishing.
The plugin is a thin wrapper around pytest's --allure-default-dir flag and works by creating default result JSON files that can be moved into the final results directory. It targets a specific gap in test reporting visibility and is maintained by Canonical, though it remains very early in its lifecycle (first release January 2025).
Use it for:
- Ensure test cases show as "unknown" in Allure Report when a CI job times out mid-run.
- Track which tests never executed due to setup or fixture failures.
- Generate complete test inventory reports even when some test cases don't run.
- Diagnose gaps in test coverage by seeing which cases were skipped or never attempted.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates default "unknown" status results for test cases that don't run, so they appear in Allure Report instead of being omitted entirely.
Yes, if you use Allure Report and need visibility into unrun tests. Install friction is low and maintenance is active. However, verify the current license status before use, and confirm that the "unknown" status integration with allure-pytest has been implemented (the package notes it was not yet in use as of 2025-01-31). Also watch for potential upstream replacement via allure-python issue #821.
Install
allure-pytest-default-results on PyPI
pip
pip install allure-pytest-default-resultsuv
uv add allure-pytest-default-resultspoetry
poetry add allure-pytest-default-resultsInstalling allure-pytest-default-results
Before you install
Low friction install with only pytest and allure-pytest as runtime dependencies. Active maintenance as of 2026-04-06 with recent commits, though the package is very new (first release 2025-01-31).
License in practice
License status is unclear—no SPDX identifier or raw license text is available. Verify licensing before use in proprietary or restricted contexts.
Quickstart
pip install allure-pytest-default-results
pytest --allure-default-dir=allure-default-results
Requires pytest and allure-pytest to be installed; the plugin generates results but does not itself run tests.
Verify before relying
- Whether the "unknown" status integration with allure-pytest has been implemented since the 2025-01-31 note stating it was not yet used.
- Compatibility with allure-pytest versions and any specific Allure Report versions.
- Whether this plugin will be superseded by upstream allure-python feature (GitHub issue #821).
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — allure-pytest, pytest |
| Maintenance | actively maintained — 130 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 143,058/month — #11,185 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: allure_pytest_default_results-0.1.4-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
allure-pytestIntegrates pytest with Allure Report to…
permissive · top 5,000 on PyPI
allure-pytest-bddIntegrates Allure Report with Pytest-BDD to…
permissive · top 15,000 on PyPI
allure-combineConverts an Allure test report folder into a…
permissive · top 15,000 on PyPI
allure-python-commonsProvides the common API and object model for…
permissive · top 5,000 on PyPI
allure-robotframeworkIntegrates Robot Framework test execution with…
permissive · top 15,000 on PyPI
allure-behaveIntegrates Behave BDD test execution with…
permissive · top 15,000 on PyPI
pytest-watchRuns pytest continuously, re-executing tests…
permissive · top 5,000 on PyPI
pytest-htmlGenerates HTML reports for pytest test results,…
copyleft · top 1,000 on PyPI
pytest-reportlogWrites pytest test results to a JSON Lines file…
permissive · top 15,000 on PyPI
behavexBehaveX extends Behave with parallel test…
unclear · top 15,000 on PyPI