Skip to content

A Pytest plugin which implements a few useful skip markers

License

Notifications You must be signed in to change notification settings

s0undt3ch/pytest-skip-markers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Pytest plugin which implements a few useful skip markers

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%