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

Uploaded Source

Built Distribution

pytest_skip_markers-1.4.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-skip-markers-1.4.0.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pytest-skip-markers-1.4.0.tar.gz
Algorithm Hash digest
SHA256 1095c5d1103d77779cbe805ea8a7beeb3be6e46529778fb1ca72e4250cfa8ec2
MD5 ecf2943dd18fc31b12313848df648466
BLAKE2b-256 5851ac162717b07aed3be86fb71ce8f47c783d15442e7709089b4a078cf5d48e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_skip_markers-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c57ae517f4ee5838dc60b91d110671e13ce3458c583657497a37cebd876f1a74
MD5 2c446898a2870f4cab617a7e7ccad00d
BLAKE2b-256 87aedbec55448076462cc985b850d20cd916159fb72603a417bcf1bbf85f07a2

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