Skip to main content
=================
pytest-match-skip
=================

.. image:: https://travis-ci.org/jsfehler/pytest-match-skip.svg?branch=master
:target: https://travis-ci.org/jsfehler/pytest-match-skip
:alt: See Build Status on Travis CI

.. image:: https://ci.appveyor.com/api/projects/status/github/jsfehler/pytest-match-skip?branch=master
:target: https://ci.appveyor.com/project/jsfehler/pytest-match-skip/branch/master
:alt: See Build Status on AppVeyor

Skip matching marks. Matches partial marks using wildcards.

----

This `Pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `Cookiecutter-pytest-plugin`_ template.


Features
--------

* Allows any tag to be used for a skip or xfail
* Wildcards can be used for tags with variable parts (ie: Specify bug_.* for bug_123, bug_777)
* Important tags can be specified and the user will be warned when they're skipped
* Tags that should be skipped can be forced to run anyways


Requirements
------------

* TODO


Installation
------------

You can install "pytest-match-skip" via `pip`_ from `PyPI`_::

$ pip install pytest-match-skip


Usage
-----

* The following options can be added to a pytest.ini file:
- skip_marks: List of marks that will be detected
- important_marks: List of marks that will warn the user if skipped
- run_skips: true or false to run tests with a skip mark
- xfail_skips: true or false to xfail instead of skip the marked tests

Example:

.. code-block:: none

[pytest]
skip_marks = bug_.* .*_tracker .*_known_failure_.*
important_marks = smoke .*_sanity important_.*
run_skips = false
xfail_skips = false

Contributing
------------
Contributions are very welcome. Tests can be run with `tox`_, please ensure
the coverage at least stays the same before you submit a pull request.

License
-------

Distributed under the terms of the `MIT`_ license, "pytest-match-skip" is free and open source software


Issues
------

If you encounter any problems, please `file an issue`_ along with a detailed description.

.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
.. _`@hackebrot`: https://github.com/hackebrot
.. _`MIT`: http://opensource.org/licenses/MIT
.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. _`file an issue`: https://github.com/jsfehler/pytest-match-skip/issues
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.python.org/pypi/pip/
.. _`PyPI`: https://pypi.python.org/pypi


Metadata

Release files for pytest-match-skip 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-match-skip 0.0.1
File Size Uploaded Provenance Actions
pytest-match-skip-0.0.1.zip 9.0 kB Without provenance Details for pytest-match-skip-0.0.1.zip

Built distributions (wheels)

Table of built distributions (wheels) for pytest-match-skip 0.0.1
File Interpreter ABI Platform Actions
pytest_match_skip-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for pytest_match_skip-0.0.1-py2.py3-none-any.whl
pytest_match_skip-0.0.1-py2-none-any.whl Python 2 none any Details for pytest_match_skip-0.0.1-py2-none-any.whl

Total release size: 20.8 kB

Release files / pytest-match-skip-0.0.1.zip

Download URL pytest-match-skip-0.0.1.zip
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
612c616d7100a69e090c3c4055e6aa5d40ad5ac20e48dd3e3579194b566ef135
BLAKE2b-256 checksum
How to use checksums
fe94f6ff2129638d503528829c4e9bd59de64ea6272958653b013ea633498fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_match_skip-0.0.1-py2.py3-none-any.whl

Download URL pytest_match_skip-0.0.1-py2.py3-none-any.whl
Size 6.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7c56b1969eb72a3e14ebcb5e6d709f136165584cdb993e975bd817261156623b
BLAKE2b-256 checksum
How to use checksums
7f67d2c38c424010fe8b1a937825f4623f63f9617eb5de89ffca41a5ced5c707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_match_skip-0.0.1-py2-none-any.whl

Download URL pytest_match_skip-0.0.1-py2-none-any.whl
Size 5.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
8f75fc7db63bd5eace3ea8f7f144abf4f0f223820c8ec2a72a77d01598b35166
BLAKE2b-256 checksum
How to use checksums
2538ba2c712115ca2571b8f7dded825676ca9627a582edde17d44289e905e8ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-match-skip 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page