Skip to main content
PyPI version Python versions See Build Status on AppVeyor

A simple pytest plugin to skip the tests with deadline in a simple way


Features

  • Use this marker to specify the deadline for the skip: a convenient decorator to prevent skipping tests and never going back to fix them. When the deadline is behind, the test will start failing again.

Requirements

  • pytest

  • python>=3.8

Installation

You can install “pytest-skipuntil” via pip from PyPI:

$ pip install pytest-skipuntil

Usage

  • Use it as a decorator for the test that you want to skip:

    @pytest.mark.skip_until(
        deadline=datetime(2023, 12, 11),
        msg='This test requires a fix, but I can't do it right now :('
    )
    def test_something():
        ...

The test will be skipped until 11/12/2023, but it will start failing again after this date, so you’ll be reminded to make a fix.

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-skipuntil” is free and open source software

Issues

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

Release files for pytest-skipuntil 0.2.0

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-skipuntil 0.2.0
File Size Uploaded
pytest-skipuntil-0.2.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-skipuntil 0.2.0
File Interpreter ABI Platform
pytest_skipuntil-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / pytest-skipuntil-0.2.0.tar.gz

Download URL pytest-skipuntil-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9b0583b5268b3552d574ec552a6773782f908b0f1bad066184464a427c7169ea
BLAKE2b-256 checksum
How to use checksums
1e2982634be09c88b55ce9bea734fe5b965b222aa4f8449bbbcc5a9ab702f758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / pytest_skipuntil-0.2.0-py3-none-any.whl

Download URL pytest_skipuntil-0.2.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39db9a34e7c2f528ea77e77653393eeeb4125cb48b81c22e90ddfa533118c81e
BLAKE2b-256 checksum
How to use checksums
958582f82659e5b0c1fda259c62db6534e5d718ee906c5db1c04836f05cfefd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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