Pytest Salt Plugin
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1095c5d1103d77779cbe805ea8a7beeb3be6e46529778fb1ca72e4250cfa8ec2 |
|
MD5 | ecf2943dd18fc31b12313848df648466 |
|
BLAKE2b-256 | 5851ac162717b07aed3be86fb71ce8f47c783d15442e7709089b4a078cf5d48e |
File details
Details for the file pytest_skip_markers-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_skip_markers-1.4.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c57ae517f4ee5838dc60b91d110671e13ce3458c583657497a37cebd876f1a74 |
|
MD5 | 2c446898a2870f4cab617a7e7ccad00d |
|
BLAKE2b-256 | 87aedbec55448076462cc985b850d20cd916159fb72603a417bcf1bbf85f07a2 |