pytest-sugar is a plugin for py.test that shows failures and errors instantly and shows a progress bar.
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
Release files for pytest-sugar 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-sugar-0.7.0.tar.gz | 10.1 kB | Details |
Release files / pytest-sugar-0.7.0.tar.gz
| Download URL | pytest-sugar-0.7.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbb0db022de4deaf53e8c5325e10c9d5aa83a71c7f4e233163ebe571b3a8dcce
|
|
BLAKE2b-256 checksum How to use checksums |
41e2d1dd046beb2212831c23fa075dbe1029ecc89c812506844c85b2a63d5538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |