pytest_bugzilla
py.test plugin to integrate it with bugzilla so that it’s possible to annotate tests with the identifier of the bug they’re testing.
If the bug has been closed but the test still fails, a warning is generated and if the bug is still open, the test is flagged as analysed (instead of Failed)
Usage
After installation (e.g. via pip install pytest-bugzilla) you can just invoke py.test``with the ``--bugzilla flag.
Use py.test --help for additional options.
Annotating tests
To mark a test as being for a specific issue (say issue no. 12345), Put “#12345” somewhere in the test functions docstring e.g.:
def test_something(): "This test is for bug #12345" do_test()
Bugzilla credentials
You have to change the bugzilla server URL/username/password using command line options. You can edit the plugin file to change the defaults so that they work without having to pass these options explicitly.
Metadata
Release files for pytest-bugzilla 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest-bugzilla-0.2.tar.gz | 3.5 kB | Without provenance | Details for pytest-bugzilla-0.2.tar.gz |
Release files / pytest-bugzilla-0.2.tar.gz
| Download URL | pytest-bugzilla-0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36a52b4e231ad3481b6c92a9d0e0db05842cdcedff61dc15e822c5611802d62d
|
|
BLAKE2b-256 checksum How to use checksums |
e9728679de835d8b725b10081ba48f3803705617de04da68e4c2dbe7835d005b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-bugzilla 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.