NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1438 most downloaded on PyPI
pytest-sugar is a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly).
Last release 1 years ago
23 Aug 2025
Ships fairly regularly
a new release about every 9 months
Most releases are documented
notes for 26 of 31 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
32 releases · first in 2013
Adjust signature of SugarTerminalReporter to avoid conflicts with other pytest plugins (#297 by @TolstochenkoDaniil)
Adjust signature of SugarTerminalReporter to avoid conflicts with other pytest plugins (#297 by @TolstochenkoDaniil)
Adjust signature of SugarTerminalReporter to avoid conflicts with other pytest plugins
Contributed by [Daniil](https://github.com/TolstochenkoDaniil) via [PR #297](https://github.com/Teemu/pytest-sugar/pull/297/)
Add Playwright trace file detection and display support for failed tests (#296 by @kiebak3r)
Add Playwright trace file detection and display support for failed tests (#296 by @kiebak3r)
This enhancement automatically detects and displays Playwright trace.zip files with viewing commands when tests fail, making debugging easier for Playwright users.
New command-line options:
--sugar-trace-dir: Configure the directory name for Playwright trace files (default: test-results)--sugar-no-trace: Disable Playwright trace file detection and displayOne column per quarter.
Add Playwright trace file detection and display support for failed tests. This enhancement automatically detects and displays Playwright trace.zip files with viewing commands when tests fail, making debugging easier for Playwright users. 
New command-line options: - --sugar-trace-dir: Configure the directory name for Playwright trace files (default: test-results) - --sugar-no-trace: Disable Playwright trace file detection and display
Contributed by [kie](https://github.com/kiebak3r) via [PR #296](https://github.com/Teemu/pytest-sugar/pull/296/)
Thanks to folks to contributed to this release: @suutari-ai, @hugovk, @kianmeng, @mattcristal, and @justinmayer
Thanks to folks to contributed to this release: @suutari-ai, @hugovk, @kianmeng, @mattcristal, and @justinmayer
Add support for pytest 8.x
Drop support for Python 3.7
Contributed by [Justin Mayer](https://github.com/justinmayer) via [PR #281](https://github.com/Teemu/pytest-sugar/pull/281/)
For long-running tests, display minutes and not only seconds (thanks @last-partizan)
--header option (thanks @wiresv)Remove py.std calls (thanks @alexcjohnson)
Remove py.std calls (thanks @alexcjohnson)
Fix distutils deprecation warning (thanks @tgagor)
Fix distutils deprecation warning (thanks @tgagor)
Fix incompatibility with pytest-timeout (thanks @graingert)
Update pytest naming convention in documentation (thanks @avallbona)
Fix pytest-sugar 0.9.3 incompatible with pytest 5.4 (thanks @nicoddemus)
Fix pytest-sugar 0.9.3 incompatible with pytest 5.4 (thanks @nicoddemus)
Fix Tests fail with pytest 3.5.0 DOCTESTS (^)
Fix Tests fail with pytest 5.x (^)
Fix incompatibility with pytest 5.4.0 (thanks @GuillaumeFavelier)
Fix incompatibility with pytest 5.4.0 (thanks @GuillaumeFavelier)
Fix incompatibility with pytest 3.10 (thanks @Natim)
Fix incompatibility with pytest 3.10 (thanks @Natim)
Double colons for verbose output (thanks @albertodonato)
Fix "Wrong count with items modified in pytest_collection_modifyitems" (thanks @blueyed)
Defer registration of xdist hook (thanks @blueyed)
Fix incompatibility with pytest 3.4 (thanks @nicoddemus)
Fix incompatibility with pytest 3.4 (thanks @nicoddemus)
Print correct location for doctest failures
Print correct location for doctest failures
Write xdist output on correct lines
Treat setup/teardown failures as errors
Release as an universal wheel
Pytest3 compatibility
Treat setup/teardown failures as errors
Fix path issue in --new-summary
Disable sugar output when not in terminal, should help with testing other pytest plugins
Add double colons when in verbose mode
Make --new-summary default, replaced flag with --old-summary
Nothing published for this version
Fix issue with deselected tests
Fix issue with deselected tests
Changed failed test summary (try --new-summary option to test it out)
Show skipped tests
Changed failed test summary (try --new-summary option to test it out)
Show teardown errors
Add support for pytest-rerunfailedtests
Make test symbols customizable
Remove deprecated --nosugar.
Turn off progress meter when progressbar_length=0
pytest-xdist support
Turn off progress meter when progressbar_length=0
- Fix Python 3 support
Fix Python 3 support
--nosugar deprecated, use -p no:sugar
Colour progressbar correctly for low number of tests
Fix error case when deactivating pytest-sugar using --lf together with --nosugar
--nosugar deprecated, use -p no:sugar
Red progressbar in case of failures
Thanks to or:
Configurable colors
Handling of long file paths
Red progressbar in case of failures
Using termcolor for much easier coloration and configuration
Simplify the progressbar maths code
Change the 's' for skipped tests to a circle
Simplify the space filling logic of full_line
Reduce the right margin to 0, so the blinking cursor is hidden
Restore Python 2.6 / 3.3 support
Crashline with non-ASCII, #42
Restore Python 2.6 / 3.3 support
Fix unit tests
Fix UnicodeDecodeError during install, #43
Fix codec error during pip install
Fix codec error during pip install
Using pytest.mark.xfails throws an error #34
Using pytest.mark.xfails throws an error #34
- Fix problem with PyPi package.
Fix problem with PyPi package.
- Fix issue with PyPI package. - Code refactoring
Fix issue with PyPI package.
Code refactoring
Fix incorrect wrapping that fine-grained progress introduced
Fix incorrect wrapping that fine-grained progress introduced
Fine-grained progressbar using more Unicode block chars
Fine-grained progressbar using more Unicode block chars
Display version of pytest and pytest-sugar
Python 3 support
Fix GH-3: Wrap tests when they extend past line
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added release date for v0.1.0
Added release date for v0.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →