Socket
Socket
Sign inDemoInstall

pytest-error-for-skips

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-error-for-skips

Pytest plugin to treat skipped tests a test failure


Maintainers
2

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc