Set a test as unstable to return 0 even if it failed
Project description
Provides a test mark @pytest.mark.unstable.
If tests marked as unstable fail, Pytest will still return 0. Failures will still be present in the reports.
Requirements
Python >=3.6
Installation
You can install “pytest-unstable” via pip from PyPI:
$ pip install pytest-unstable
Usage
Mark tests as unstable @pytest.mark.unstable
If those tests fail (and no other test), pytest will return 0
Go read the reports to see the failures!
License
Distributed under the terms of the MIT license, “pytest-unstable” is free and open source software
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
pytest-unstable-0.2.1.tar.gz
(3.1 kB
view details)
File details
Details for the file pytest-unstable-0.2.1.tar.gz
.
File metadata
- Download URL: pytest-unstable-0.2.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94871d4f8d7891a42b8d07bc58e4eb96ca77bffa8450a3a47f8428d96186625 |
|
MD5 | e62510e367ca90b39f7ee2c45ba1adc8 |
|
BLAKE2b-256 | 338a42fef6ecab810804db7d3d534f51a582f8323393d4e48fcb315e1a3001de |