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.5.1.tar.gz (75.0 kB view details)

Uploaded Source

Built Distribution

pytest_skip_markers-1.5.1-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file pytest-skip-markers-1.5.1.tar.gz.

File metadata

  • Download URL: pytest-skip-markers-1.5.1.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pytest-skip-markers-1.5.1.tar.gz
Algorithm Hash digest
SHA256 b208b6b804a320691f9e3a0d0721345a8710b9791c4324499294b6a8e4b0e82b
MD5 d734601cfc6e07e8d131a9dfa5be7237
BLAKE2b-256 bacdeb9337df671181763c5533ee00903c6ed4c3a1f96f9c81565af5f99116eb

See more details on using hashes here.

File details

Details for the file pytest_skip_markers-1.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_skip_markers-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e3f5ede6e1e6d6dc65e83136e9335abe7d5c4f2f55b94b4fb83d3da5b8d8f0c
MD5 7a48227c92f71844e099c058499b8884
BLAKE2b-256 edea105d55dce620777edfc516bc8ee66a6048eaace45a849b25dd414c3bfbee

See more details on using hashes here.

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