Skip to main content

# pytest-sugar

[![](https://travis-ci.org/Frozenball/pytest-sugar.png?branch=master)](https://travis-ci.org/Frozenball/pytest-sugar) ![](https://img.shields.io/pypi/v/pytest-sugar.svg)

pytest-sugar is a plugin for [py.test](http://pytest.org) that shows failures and errors instantly and shows a progress bar.

![](http://pivotfinland.com/pytest-sugar/img/video.gif)

## 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:

$ py.test

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

$ py.test –verbose

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

$ py.test -p no:sugar

## Running on Windows

If you are seeing gibberish, you might want to try changing charset and fonts. See [this comment]( https://github.com/Frozenball/pytest-sugar/pull/49#issuecomment-146567670) for more details.

Metadata

Release files for pytest-sugar 0.9.0

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-sugar 0.9.0
File Size Uploaded Provenance Actions
pytest-sugar-0.9.0.tar.gz 11.7 kB Without provenance Details for pytest-sugar-0.9.0.tar.gz

Release files / pytest-sugar-0.9.0.tar.gz

Download URL pytest-sugar-0.9.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f1aca70235559f95abe2d7508a029d933e9c9961888d74d423e6460678a9686
BLAKE2b-256 checksum
How to use checksums
49d8c5ff6cca3ce2ebd8b73eec89779bf6b4a7737456a70e8ea4d44c1ff90f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-sugar 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

1 release file No provenance

0.1.0

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