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.5.0.tar.gz
.
File metadata
- Download URL: pytest-skip-markers-1.5.0.tar.gz
- Upload date:
- Size: 75.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71d74d689875ee638331c3b5b429aa6d48c7a4b1c2cba0f20a963f8f3736583 |
|
MD5 | 1a24bd7fd6eb55718d0103e60e67a09f |
|
BLAKE2b-256 | 91b2ebe0efd3b70877e8e6049e7765f4e4640c6449704ca299443be72f891aff |
File details
Details for the file pytest_skip_markers-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_skip_markers-1.5.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25062eeb7146ba2c3b97e82a61323346ac5ab84d9c10e2e883a028cee4c8033 |
|
MD5 | b13ad57513f97a77c8b6fb38cc47de51 |
|
BLAKE2b-256 | e1901260adb750a9cfa71dfeec3eaee2a59a2717263e14acfe397981aa2ae798 |