Set a test as unstable to return 0 even if it failed
Provides a test mark @pytest.mark.unstable.
If tests marked as unstable fail, Pytest will still return 0. Failures will still be present in the reports.
You can install “pytest-unstable” via pip from PyPI:
$ pip install pytest-unstable
Mark tests as unstable @pytest.mark.unstable
If those tests fail (and no other test), pytest will return 0
Go read the reports to see the failures!
Distributed under the terms of the MIT license, “pytest-unstable” is free and open source software
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.