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
# 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 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 3.5
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-sugar-0.8.0rc1.tar.gz
.
File metadata
- Download URL: pytest-sugar-0.8.0rc1.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66409d6be8d2624b66a2f58ea6d9b8e6a49ef23e1637318e235d00490535253 |
|
MD5 | 1f40988923e71fff4b558478fc758987 |
|
BLAKE2b-256 | f9b4ad7ab62202fa33541ae2c060f7b4815fa027d41b8d7bc60bfbe05f303763 |
File details
Details for the file pytest_sugar-0.8.0rc1-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_sugar-0.8.0rc1-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d5f2faff480a56b9df0669b75e8224b9fc6024a7b8bf88c805b35a892da7b0 |
|
MD5 | 66ad30655fb072898cada017845b5102 |
|
BLAKE2b-256 | 9226a0c7b5aaeb166115aac70bbf86658f1472bd127701bc1fdeac8dd8294158 |