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.1.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_awaiting_fix-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3c52afd0792e8f40dbe46baacd980c625b7a0a19766c35978d0e5c1911fd47de
MD5 3bb2e2e819fe1464e7eafc7977410506
BLAKE2b-256 01e3e26e4c7a3ceb4fb072577809872c900782e21ad374f756d1f4c68e9a9c48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_awaiting_fix-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65f818ce652a1bcd71764c3fb27cc063bb2855d034c52200c1853d66cd117b30
MD5 39d97849b64ce79510fdf474ec166615
BLAKE2b-256 467d5fe7dd034318c6dc19b53bc32b7c63ea0fa2a4e80125a8a9c84574d330e1

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