Skip to main content

Set a test as unstable to return 0 even if it failed

Project description

PyPI version Python versions See Build Status on AppVeyor

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-unstable-0.2.1.tar.gz (3.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page