Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pytest-bugzilla

How to install pytest-bugzilla

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pytest-bugzilla
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2 Available View build log
Windows (64-bit)
0.2 Available View build log
Mac OS X (10.5+)
0.2 Available View build log
Linux (32-bit)
0.2 Available View build log
Linux (64-bit)
0.2 Available View build log
 
License
GPL
Dependencies
Imports
Lastest release
version 0.2 on Jan 5th, 2011

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.:

System Message: WARNING/2 (<string>, line 26)

Literal block expected; none found.

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.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.