Skip to main content

Pytest plugin to treat skipped tests a test failure

Project description


See Build Status on Travis CI

See Build Status on AppVeyor

Documentation Status

PyPI Status

Pytest plugin to treat skipped tests a test failures.

This is nice if you want to ensure that your CI tests really run all tests and don't skip tests because of missing dependencies.


Simply execute your tests via pytest --error-for-skips ... and all skipped tests become test failures.


  • pytest


You can install "pytest-error-for-skips" via pip from PyPI:

pip install pytest-error-for-skips


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

Simplest setup:

git clone <
cd pytest-error-for-skips
(mkdir env && cd env && python -m venv> .) 
source env/bin/acticate
python -m pip install -e .


Distributed under the terms of the MIT license, "pytest-error-for-skips" is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

This Pytest plugin was generated with Cookiecutter along with @hackebrot's Cookiecutter-pytest-plugin template.

Project details

Download files

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

Files for pytest-error-for-skips, version 2.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pytest_error_for_skips-2.0.2-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-error-for-skips-2.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page