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.
Installing Skip Markers is as simple as:
python -m pip install pytest-skip-markers
And, that’s honestly it.
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
The pytest-skip-markers project team welcomes contributions from the community. For more detailed information, refer to CONTRIBUTING.
Please see Contents for full documentation, including installation and tutorials.
Please use the GitHub issue tracker to submit bugs or request features.
Consult the Changelog page for fixes and enhancements of each version.