pytest-rich
Leverage rich for richer test session output
Decision gist · record as of 2026-08-14
Yes, if you want richer pytest output and are comfortable with a proof-of-concept plugin. The low install friction, active maintenance, MIT license, and lack of known vulnerabilities make it safe to try. However, be aware that the maintainer is seeking adoption and the feature set may evolve; it is not a mature, feature-locked tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with three straightforward runtime dependencies (attrs, pytest, rich).
- Actively maintained with recent commits as of August 2026.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2024-12-12 (610 days) · last repo commit 2026-08-10 · 252 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 143,551 downloads/mo, #11,172 on PyPI
Alternatives
Verify before relying
pip install pytest-rich
Then run pytest normally:
pytest- What specific output enhancements or formatting changes does the plugin apply to pytest results beyond basic colorization.
- Whether the plugin is compatible with pytest plugins that also modify output formatting or terminal behavior.
- Performance impact of rich formatting on large test suites or CI/CD environments.
- Current feature completeness and roadmap given the maintainer's stated search for adoption.
What it is and what it does
pytest-rich is a pytest plugin that integrates rich to enhance how test results are displayed in the terminal. It wraps pytest's output with rich's formatting capabilities to provide colored and structured test session reports. The plugin depends on pytest, rich, and attrs, and runs on Python 3.9 and later across CPython and PyPy implementations.
The maintainer explicitly describes this as a proof-of-concept seeking a new maintainer, indicating the plugin works but is not feature-complete and welcomes community contributions. It is actively maintained with recent activity. Installation is straightforward with no compiled dependencies or complex setup requirements.
Use it for
- Improve readability of test output in local development by adding color and structure to pytest results.
- Make CI/CD test logs more scannable and visually distinct between passing, failing, and skipped tests.
- Enhance terminal-based test reporting for projects that run pytest in interactive shells.
- Experiment with pytest output customization as a foundation for building more advanced test reporting plugins.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want richer pytest output and are comfortable with a proof-of-concept plugin.
The low install friction, active maintenance, MIT license, and lack of known vulnerabilities make it safe to try. However, be aware that the maintainer is seeking adoption and the feature set may evolve; it is not a mature, feature-locked tool.
Install
pytest-rich on PyPI
Before you install
Low friction install with three straightforward runtime dependencies (attrs, pytest, rich). Actively maintained with recent commits as of August 2026.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install pytest-rich
Then run pytest normally:
pytest
Verify before relying
- What specific output enhancements or formatting changes does the plugin apply to pytest results beyond basic colorization.
- Whether the plugin is compatible with pytest plugins that also modify output formatting or terminal behavior.
- Performance impact of rich formatting on large test suites or CI/CD environments.
- Current feature completeness and roadmap given the maintainer's stated search for adoption.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesattrspytestrich |
| Maintenance | Actively maintained 610 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 143,551 / month, #11,172 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating 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.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing |
Evidence: pytest_rich-0.2.0-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 › “rich test output”
- pytest-richA pytest plugin that uses rich to format and colorize test session…
- django-richIntegrates Rich's terminal formatting and pretty-printing into…
- pytest-prettyA pytest plugin that formats test output with rich tables and…
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 pytest-pretty · pytest-xml · pytest-logging · pytest-icdiff · pytest-sugar · pytest-regressions · pytest-json · pytest-custom-exit-code · pytest-emoji · pytest-snapshot