Skip to main content

A simple plugin to use with pytest for traceability across Jira and disabled automated tests

Project description

PyPI version Python versions See Build Status on GitHub Actions

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

pytest_awaiting_fix-0.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_awaiting_fix-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest_awaiting_fix-0.0.2.tar.gz.

File metadata

  • Download URL: pytest_awaiting_fix-0.0.2.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

Hashes for pytest_awaiting_fix-0.0.2.tar.gz
Algorithm Hash digest
SHA256 44b4784c50c32538e0f816d47dae8729482b4e813de0acb24334e07ecbd6c73b
MD5 1035440a1d2a536edf5206f6e091f04d
BLAKE2b-256 abf36b69b10dc488c452633f033f36a72dbbd7da9f8b5cff22a70f983af22875

See more details on using hashes here.

File details

Details for the file pytest_awaiting_fix-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_awaiting_fix-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0697c097e4cfd08a1ebc412ac06145d7274c439c936e4eef7009b586e64ec080
MD5 4519398ebe735dd53ea2924dca652848
BLAKE2b-256 474ddf52d28a187de53eb6a304e0679417ff0037a521e42e061fee3f2d3d82c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page