pytest-instafail is a plugin for py.test that shows failures and errors instantly instead of waiting until the end of test session.
You will need the following prerequisites in order to use pytest-instafail:
- Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
- pytest 2.9 or newer
To install pytest-instafail:
$ pip install pytest-instafail
Then run your tests with:
$ py.test --instafail