pytest-instafail
pytest-instafail is a plugin for pytest that shows failures and errors instantly instead of waiting until the end of test session.
Requirements
You will need the following prerequisites in order to use pytest-instafail:
- Python 3.7+ or PyPy3
- pytest 5 or newer
Installation
To install pytest-instafail:
$ pip install pytest-instafail
Then run your tests with:
$ pytest --instafail