Skip to main content

py.test is a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly).

Project description

Build Status Version Status Downloads

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

Screenshot

Requirements

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

  • Python 2.6, 2.7, 3.3 or 3.4

  • pytest 2.6.4 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

Project 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-sugar-0.6.0.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file pytest-sugar-0.6.0.tar.gz.

File metadata

File hashes

Hashes for pytest-sugar-0.6.0.tar.gz
Algorithm Hash digest
SHA256 32a933d9b3f4b364b397071887c0f3fe1689d0dacad51038c90b80c887c8e4f8
MD5 17b9b5c99a8ced44e8161021a8960839
BLAKE2b-256 d20821d78864228c2f95b92cad8f460435dc1a1d228c3773df5356e16a59c1ef

See more details on using hashes here.

Supported by

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