Skip to main content

pytest-error-for-skips

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.

Usage

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

Requirements

  • pytest

Installation

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

pip install pytest-error-for-skips

Contributing

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 <https://github.com/jankatins/pytest-error-for-skips.git
cd pytest-error-for-skips
(mkdir env && cd env && python -m venv> .) 
source env/bin/acticate
python -m pip install -e .
pytest

License

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

Issues

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.

Metadata

Release files for pytest-error-for-skips 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-error-for-skips 2.0.2
File Size Uploaded Provenance Actions
pytest-error-for-skips-2.0.2.tar.gz 3.6 kB Without provenance Details for pytest-error-for-skips-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-error-for-skips 2.0.2
File Interpreter ABI Platform Actions
pytest_error_for_skips-2.0.2-py3-none-any.whl Python 3 none any Details for pytest_error_for_skips-2.0.2-py3-none-any.whl

Total release size: 7.6 kB

Release files / pytest-error-for-skips-2.0.2.tar.gz

Download URL pytest-error-for-skips-2.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d4d0c89036a4105cabbc5e488c4078756c29cc2e5805b0694c3d9e49e52c0d11
BLAKE2b-256 checksum
How to use checksums
5a963d77e3446430168df51af2033cb24675301b29c474b64a10c1abc5f2577a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / pytest_error_for_skips-2.0.2-py3-none-any.whl

Download URL pytest_error_for_skips-2.0.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccc4029c04f1737aa81445c5f3599247f8a64d279741b4a66bf003782fa00492
BLAKE2b-256 checksum
How to use checksums
8f0b1408ee0604b2cdb7f095149751809403622abd6ebec2566db88ad8314de1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Security for pytest-error-for-skips 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page