pytest-sugar
pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly).
Decision gist · record as of 2026-08-14
Yes, if you run pytest frequently and want better visual feedback. The plugin is low-friction to install, has no notable security issues, and uses a permissive license. However, the 356-day gap since the last release suggests the project is aging; verify that it remains compatible with your pytest and Python versions before relying on it in production CI systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only pytest and termcolor as runtime dependencies.
- Maintenance shows aging status—last release 356 days ago—but the repository remains active and the project has been stable since its 2013 inception.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2025-08-23 (356 days) · last repo commit 2025-12-12 · 1,533 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,196,404 downloads/mo, #1,653 on PyPI
Alternatives
Verify before relying
pip install pytest-sugar
pytest
# Plugin activates automatically; use 'pytest -p no:sugar' to disable- Whether the 356-day gap since last release indicates active maintenance or dormancy relative to pytest's release cadence
- Compatibility with pytest versions newer than 6.2 and Python 3.13+ in practice
What it is and what it does
pytest-sugar is a pytest plugin that replaces the default test output with a more visually appealing and informative display. It adds a progress bar, shows test failures and errors instantly rather than waiting for the full run to complete, and uses colored output to make results easier to scan. The plugin activates automatically once installed and requires only pytest and termcolor as dependencies.
It's designed for developers who run tests frequently and want faster feedback during development. The plugin supports command-line options to customize behavior—such as forcing output in non-interactive environments (CI systems) and integrating with Playwright trace files—and can be disabled on a per-run basis if needed. It works across Windows, macOS, and POSIX systems.
Use it for
- Local test development: run pytest normally and get instant visual feedback on failures as they occur
- CI/CD pipelines: use --force-sugar to ensure colored progress output in non-interactive environments
- Debugging test suites: see which tests fail immediately rather than waiting for the full suite to complete
- Playwright integration: automatically detect and display Playwright trace files stored in test-results or a custom directory
- Verbose test reporting: use pytest --verbose with pytest-sugar for one-test-per-line output with better formatting
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you run pytest frequently and want better visual feedback.
The plugin is low-friction to install, has no notable security issues, and uses a permissive license. However, the 356-day gap since the last release suggests the project is aging; verify that it remains compatible with your pytest and Python versions before relying on it in production CI systems.
Install
pytest-sugar on PyPI
Before you install
Low friction: pure Python wheel with only pytest and termcolor as runtime dependencies. Maintenance shows aging status—last release 356 days ago—but the repository remains active and the project has been stable since its 2013 inception.
License in practice
BSD license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pytest-sugar
pytest
# Plugin activates automatically; use 'pytest -p no:sugar' to disable
Verify before relying
- Whether the 356-day gap since last release indicates active maintenance or dormancy relative to pytest's release cadence
- Compatibility with pytest versions newer than 6.2 and Python 3.13+ in practice
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytesttermcolor |
| Maintenance | Aging 356 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,196,404 / month, #1,653 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming 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.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: pytest_sugar-1.1.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 output formatting”
- pytest-sugarA pytest plugin that improves test output with a progress bar,…
- pytest-pspecFormats pytest test output in RSpec-style (pspec) format, showing…
- pytest-richA pytest plugin that uses rich to format and colorize test session…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
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.
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.
See also pytest-progress · pytest-pretty · pytest-instafail · pytest-rich · pytest-html · pytest-excel · pytest-clarity · pytest-check · pytest-regressions