pytest-pretty
pytest plugin for printing summary data as I want it
Decision gist · record as of 2026-08-14
Yes, if you run pytest regularly and want faster failure navigation. The low install friction, permissive license, and lack of security vulnerabilities make it safe to add. The aging maintenance status (436 days since last release) is a minor concern but not a blocker—the plugin is stable and the repository remains active. Install it if your test suites are large enough that output readability matters.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9 and pytest to be installed.
- Low friction install with only two runtime dependencies (pytest and rich).
- Maintenance is aging—last release was 436 days ago—but the repository remains active with recent commits and no archived status.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2025-06-04 (436 days) · last repo commit 2025-06-04 · 474 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,217,846 downloads/mo, #4,204 on PyPI
Alternatives
Verify before relying
pip install pytest-pretty
Then run pytest normally; the plugin activates automatically:
pytest tests/- Whether the plugin works correctly with pytest versions released after the last update 436 days ago.
- Performance impact on large test suites with hundreds or thousands of tests.
What it is and what it does
pytest-pretty is a pytest plugin that enhances test output readability by replacing the default text format with rich-formatted tables and summaries. It displays a real-time one-line summary of which test has failed while tests are running, and after completion shows a table of all failures with both test line numbers and error line numbers—eliminating the need to scroll through verbose output to find what broke.
The plugin requires only pytest and rich as runtime dependencies, making it lightweight to add to existing projects. It works on Python 3.9 through 3.13 and includes a pytester_pretty fixture for testing pytest plugins themselves. The output is particularly useful in CI environments like GitHub Actions when the terminal width is configured appropriately.
Use it for
- Quickly locate which test failed in a large test suite without scrolling through pages of output.
- Navigate directly to the failing test and error line using the failure table's line numbers.
- Improve readability of test summaries in CI/CD pipelines by enabling wider output formatting.
- Test pytest plugins themselves using the pytester_pretty fixture for cleaner test output.
- Make local development faster by reducing time spent parsing test failure messages.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run pytest regularly and want faster failure navigation.
The low install friction, permissive license, and lack of security vulnerabilities make it safe to add. The aging maintenance status (436 days since last release) is a minor concern but not a blocker—the plugin is stable and the repository remains active. Install it if your test suites are large enough that output readability matters.
Install
pytest-pretty on PyPI
Before you install
Low friction install with only two runtime dependencies (pytest and rich). Maintenance is aging—last release was 436 days ago—but the repository remains active with recent commits and no archived status.
Requires Python >=3.9 and pytest to be installed.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pytest-pretty
Then run pytest normally; the plugin activates automatically:
pytest tests/
Verify before relying
- Whether the plugin works correctly with pytest versions released after the last update 436 days ago.
- Performance impact on large test suites with hundreds or thousands of tests.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytestrich |
| Maintenance | Aging 436 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,217,846 / month, #4,204 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 :: ConsoleEnvironment :: MacOS XFramework :: HypothesisIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxOperating System :: UnixProgramming 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.9Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pytest_pretty-1.3.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 › “test failure summary table”
- pytest-prettyA pytest plugin that formats test output with rich tables and…
- pytest-progressA pytest plugin that displays real-time test progress counts (passed,…
- pytest-md-reportA pytest plugin that generates test outcome reports formatted as…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules 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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pytest-rich · pytest-sugar · pytest-json-report · pytest-check · pytest-md-report · pytest-reporter · pytest-progress · pytest-isort · detect-test-pollution · tavern