pytest-plus
PyTest Plus Plugin :: extends pytest functionality
Decision gist · record as of 2026-08-14
Yes, if you run tests in CI and want to catch test-naming collisions or accidental test skipping. The plugin is low-friction, permissively licensed, and gracefully degrades if removed. However, maintenance is aging (558 days since last release), so evaluate whether the specific checks it offers match your project's needs before adopting it as a critical CI dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; plugin gracefully downgrades if removed, so no hard runtime dependency beyond pytest itself.
- Low install friction with a single runtime dependency on pytest.
- Maintenance status is aging—last release was 558 days ago and the repository shows minimal activity (12 stars), though it remains active and not archived.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-02-02 (558 days) · last repo commit 2025-10-27 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,583 downloads/mo, #14,512 on PyPI
Alternatives
Verify before relying
pip install pytest-plus
# In your test environment, set environment variable:
export PYTEST_REQPASS=123
# Then run pytest normally:
pytest- Whether the duplicate test-name check works across all project structures or has known edge cases.
- Performance impact of test-ID regex validation on large test suites.
- Compatibility with pytest plugins that also modify test collection or reporting.
What it is and what it does
pytest-plus is a pytest plugin that bundles several optional safety and CI-integration features designed to catch common testing mistakes and improve test reproducibility. It enforces that test function names are unique across a project, validates test IDs to ensure they contain only safe characters and stay within a reasonable length, and allows you to pin the exact number of tests that should pass in CI via the PYTEST_REQPASS environment variable—preventing accidental test skipping. It also collects pytest log files into a project-accessible directory for CI artifact collection.
The plugin is designed to degrade gracefully: if you remove it, your tests continue to run normally. Most of its checks can be disabled via environment variables (PYTEST_CHECK_TEST_DUPLICATE, PYTEST_CHECK_TEST_ID_REGEX, PYTEST_MAX_TEST_ID_LENGTH), making it flexible for different project needs. It targets CI workflows and development practices where catching test-naming collisions and ensuring test counts remain stable are valuable safeguards.
Use it for
- Enforce exact test counts in CI pipelines to catch accidental test skipping or disabling.
- Prevent duplicate test function names across a project to make failed tests easier to reproduce locally.
- Validate test IDs to ensure they can be safely copy-pasted from CI logs into a terminal.
- Collect pytest logs from temporary directories into a project-accessible location for CI artifact archival.
- Add optional pytest safety checks without breaking existing test infrastructure if the plugin is later removed.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run tests in CI and want to catch test-naming collisions or accidental test skipping.
The plugin is low-friction, permissively licensed, and gracefully degrades if removed. However, maintenance is aging (558 days since last release), so evaluate whether the specific checks it offers match your project's needs before adopting it as a critical CI dependency.
Install
pytest-plus on PyPI
Before you install
Low install friction with a single runtime dependency on pytest. Maintenance status is aging—last release was 558 days ago and the repository shows minimal activity (12 stars), though it remains active and not archived.
Requires Python 3.10 or later; plugin gracefully downgrades if removed, so no hard runtime dependency beyond pytest itself.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pytest-plus
# In your test environment, set environment variable:
export PYTEST_REQPASS=123
# Then run pytest normally:
pytest
Verify before relying
- Whether the duplicate test-name check works across all project structures or has known edge cases.
- Performance impact of test-ID regex validation on large test suites.
- Compatibility with pytest plugins that also modify test collection or reporting.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytest |
| Maintenance | Aging 558 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,583 / month, #14,512 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 :: ConsoleFramework :: PytestIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: System :: Systems AdministrationTopic :: Utilities |
Evidence: pytest_plus-0.8.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 › “pytest plugin extensions”
- pytest-plusA pytest plugin that adds optional test-count validation, duplicate…
- pytest-enablerA pytest plugin that conditionally enables other pytest plugins based…
- pytest-cythonA pytest plugin that runs doctests embedded in Cython `.pyx`…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
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.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also pytest-error-for-skips · pytest-repeat · pytest-deadfixtures · pytest-custom-exit-code · pytest-replay · pytest-flakefinder · pytest-progress · pytest-find-dependencies · pytest-xml