Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
pytest_sugar.egg-info/ | H | 03-May-2022 | - | 68 | 49 | |
CHANGES.rst | H A D | 06-Jul-2020 | 3.1 KiB | 136 | 95 | |
CONTRIBUTORS.rst | H A D | 26-Apr-2020 | 191 | 12 | 10 | |
LICENSE | H A D | 26-Apr-2020 | 1.5 KiB | 29 | 22 | |
MANIFEST.in | H A D | 26-Apr-2020 | 92 | 3 | 3 | |
PKG-INFO | H A D | 06-Jul-2020 | 2.7 KiB | 68 | 49 | |
README.md | H A D | 26-Apr-2020 | 1.2 KiB | 41 | 23 | |
pytest_sugar.py | H A D | 06-Jul-2020 | 21.6 KiB | 647 | 518 | |
setup.cfg | H A D | 06-Jul-2020 | 88 | 9 | 6 | |
setup.py | H A D | 26-Apr-2020 | 2.2 KiB | 62 | 54 | |
test_sugar.py | H A D | 06-Jul-2020 | 14.9 KiB | 574 | 468 | |
tox.ini | H A D | 26-Apr-2020 | 1.2 KiB | 45 | 41 |
README.md
1# pytest-sugar 2 3[![Build status](https://travis-ci.org/Teemu/pytest-sugar.svg?branch=master)](https://travis-ci.org/Teemu/pytest-sugar) 4[![Pypi version](https://img.shields.io/pypi/v/pytest-sugar.svg)](https://pypi.org/project/pytest-sugar/) 5 6pytest-sugar is a plugin for [py.test](http://pytest.org) that shows 7failures and errors instantly and shows a progress bar. 8 9![Demo](http://pivotfinland.com/pytest-sugar/img/video.gif) 10 11## Requirements 12 13You will need the following prerequisites in order to use pytest-sugar: 14 15- Python 2.7, 3.4 or newer 16- pytest 2.9.0 or newer 17- pytest-xdist 1.14 or above if you want the progress bar to work while running 18 tests in parallel 19 20## Installation 21 22To install pytest-sugar: 23 24 pip install pytest-sugar 25 26Then run your tests with: 27 28 py.test 29 30If you would like more detailed output (one test per line), then you may use the verbose option: 31 32 py.test --verbose 33 34If you would like to run tests without pytest-sugar, use: 35 36 py.test -p no:sugar 37 38## Running on Windows 39 40If you are seeing gibberish, you might want to try changing charset and fonts. See [this comment]( https://github.com/Teemu/pytest-sugar/pull/49#issuecomment-146567670) for more details. 41