Skip to main content

pytest-saccharin is a updated fork of pytest-sugar, a plugin for pytest that changes the default look and feel of pytest (e.g. progressbar, show tests that fail instantly).

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-saccharin-0.9.5.tar.gz (13.6 kB view details)

Uploaded Source

File details

Details for the file pytest-saccharin-0.9.5.tar.gz.

File metadata

  • Download URL: pytest-saccharin-0.9.5.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for pytest-saccharin-0.9.5.tar.gz
Algorithm Hash digest
SHA256 cad10510a44ac3b2c6af5aba6fd499edf5f9434cea80000e0ada131eaecf5b6a
MD5 b6cbc956b4ac5c6f0a8c537538aa0029
BLAKE2b-256 5617b22ff1c8c280b7ef2cb886ac217e284a1e9eacc2877c6c587bbc99c89ddc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page