Skip to main content

pytest-sugar

Build status Pypi version

pytest-sugar is a plugin for pytest that shows failures and errors instantly and shows a progress bar.

Demo

Requirements

You will need the following prerequisites in order to use pytest-sugar:

  • Python 2.7, 3.4 or newer
  • pytest 2.9.0 or newer
  • pytest-xdist 1.14 or above if you want the progress bar to work while running tests in parallel

Installation

To install pytest-sugar:

pip install pytest-sugar

Then run your tests with:

$ pytest

If you would like more detailed output (one test per line), then you may use the verbose option:

$ pytest --verbose

If you would like to run tests without pytest-sugar, use:

$ pytest -p no:sugar

Running on Windows

If you are seeing gibberish, you might want to try changing charset and fonts. See this comment for more details.

Metadata

Release files for pytest-saccharin 0.9.5.post0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-saccharin 0.9.5.post0
File Size Uploaded
pytest-saccharin-0.9.5.post0.tar.gz 13.6 kB Details

Release files / pytest-saccharin-0.9.5.post0.tar.gz

Download URL pytest-saccharin-0.9.5.post0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
26bdfc095397218de37f5b4b15dadccb524bef507470b83ebc580ed76e9385b8
BLAKE2b-256 checksum
How to use checksums
1815884778187648f6b1b8e08e421875985d610f7fabc776a5c4d7dcf9f02c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.9.5.post0 This release

1 release file

0.9.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page