skillfed

allure-pytest-default-results

Generate default "unknown" results to show in Allure Report if test case does not run

allure-pytest-default-results v0.1.4 143.1K downloads/30d#11,185 on PyPI0
License unclear Active released

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

uv

uv add allure-pytest-default-results

poetry

poetry add allure-pytest-default-results

Installing 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

Framework :: PytestProgramming 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.9

Tags

allure report missing testspytest allure unknown statustest case coverage reportingallure default resultspytest test result trackingallure report gapsunrun test visibility
test-reportingallure-integration

More Quality Assurance packages