Registry / testing / allure-pytest-default-results

allure-pytest-default-results

JSON →
library0.1.4pypypi✓ verified 80d ago

Generates default 'unknown' results for Allure Report when test cases are not executed (e.g., skipped by markers or filters). Version 0.1.4, stable with no active development; useful for CI pipelines where test selection may miss some scenarios.

pip install allure-pytest-default-results
INSTALL
IMPORT
SIG · ALLURE-PYTEST-DEFA
A
allure-pytest-default-results
testingpythonv0.1.4
Install
3.0s avg
Import
Disk
30MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 31.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.0s · import 0.000s · 32MB
30MB installed
● package 30MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

allure_default_results
import allure_pytest_default_results
from allure_pytest_default_results import allure_default_results

Basic usage: install and run pytest as usual; the plugin hooks into collection to generate 'unknown' results for skipped tests.

# conftest.py import pytest import allure from allure_pytest_default_results import allure_default_results # The plugin automatically generates default results for tests that are not executed. # To see it in action, run pytest with filtered tests: # pytest --alluredir=allure-results -k "not test_example" def test_example(): allure.attach("sample", name="test", attachment_type=allure.attachment_type.TEXT) assert True
Debug
Known issues
gotchaThe plugin does NOT generate results for tests that are deselected by markers (`-m`) or keywords (`-k`) but were collected; it only handles tests that are completely not collected (e.g., due to `--run-no` or non-matching patterns).
fix
Ensure you understand collection vs. selection. Use `--co` (collect only) to verify which tests are collected.
affects: all
gotchaIf you have multiple conftest.py files with conflicting plugin registrations, the default results may not be generated. The plugin must be loaded before any test collection.
fix
Make sure the plugin is installed and registered (check `pytest --traceconfig` for `allure-pytest-default-results`).
affects: all
Upgrade
Version history
0.1.4latest on PyPI · released Apr 6, 2026
Audit
Dependencies
allure-pytestrequiredThe plugin generates results for Allure; pytest-allure must be installed and configured.
pytestrequiredTesting framework required to run tests and hooks.
Agent activity
33 hits · last 30 days
node
30
OpenAI (training)
1
Resources
allure-pytest-default-results — pip install allure-pytest-default-results · libregistry