Skip to main content

Pytest Salt Plugin

Project description

CI Docs Codecov Python Versions Python Wheel Code Style: black PyPI - License

What is Skip Markers

This pytest plugin was extracted from pytest-salt-factories. It’s a collection of of useful skip markers created to simplify and reduce code required to skip tests in some common scenarios, for example, platform specific tests.

Install

Installing Skip Markers is as simple as:

python -m pip install pytest-skip-markers

And, that’s honestly it.

Usage

Once installed, you can now skip some tests with some simple pytest markers, for example.

import pytest


@pytest.mark.skip_unless_on_linux
def test_on_linux():
    assert True

Contributing

The pytest-skip-markers project team welcomes contributions from the community. For more detailed information, refer to CONTRIBUTING.

Documentation

The full documentation can be seen here.

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-skip-markers-1.3.0.tar.gz (81.2 kB view hashes)

Uploaded Source

Built Distribution

pytest_skip_markers-1.3.0-py3-none-any.whl (31.9 kB view hashes)

Uploaded Python 3

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