• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

pytest_sugar.egg-info/H03-May-2022-6849

CHANGES.rstH A D06-Jul-20203.1 KiB13695

CONTRIBUTORS.rstH A D26-Apr-2020191 1210

LICENSEH A D26-Apr-20201.5 KiB2922

MANIFEST.inH A D26-Apr-202092 33

PKG-INFOH A D06-Jul-20202.7 KiB6849

README.mdH A D26-Apr-20201.2 KiB4123

pytest_sugar.pyH A D06-Jul-202021.6 KiB647518

setup.cfgH A D06-Jul-202088 96

setup.pyH A D26-Apr-20202.2 KiB6254

test_sugar.pyH A D06-Jul-202014.9 KiB574468

tox.iniH A D26-Apr-20201.2 KiB4541

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