Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

py.test bugzilla integration plugin

Project Description

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.

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest-bugzilla-0.2.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source May 5, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting