A simple plugin to use with pytest for traceability across Jira and disabled automated tests
Project description
A simple plugin to use with pytest which helps retain traceability between automated tests and Jira statuses. When a test is tagged with the @pytest.mark.awaiting_fix(‘test’) decorator it will automatically skip this test and check the current status of the test in Jira statuses, if the status has progressed to a status the user can define, it will comment a list of all tests containing the decorator with the associated bug number onto the ticket so testers will know to also verify the automated tests are re-enabled and passing.
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
Installation
You can install “pytest-awaiting-fix” via pip from PyPI:
$ pip install pytest-awaiting-fix
Usage
Once the package has been installed: Tag any tests with the provided decorator pytest.mark.awaiting_fix(‘test-123’)
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-awaiting-fix” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_awaiting_fix-1.0.tar.gz.
File metadata
- Download URL: pytest_awaiting_fix-1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a348c59c7f0e8788f994fa0e1b80ee7ab6e59d7d28c44e51294d91dbc351df8
|
|
| MD5 |
f2eba59c02404640160e68c010ba8198
|
|
| BLAKE2b-256 |
b3f7d197ea76d6a9b74267f6ccd122050e8fed824cf17394eb6db4e185060b1e
|
File details
Details for the file pytest_awaiting_fix-1.0-py3-none-any.whl.
File metadata
- Download URL: pytest_awaiting_fix-1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
421c3834f17abab8b93848c65aa84f3f9f18bd3336c74f36e7076986c9f2ee6a
|
|
| MD5 |
2422c0b8ad6bd95b23b03a7d3366f6b5
|
|
| BLAKE2b-256 |
2e0170d8527304d9eb7fd87dba8835def604ea7127232a6552999a831eac1293
|