pytest-marker-bugzilla

Software Screenshot:
pytest-marker-bugzilla
Software Details:
Version: 0.06
Upload Date: 20 Feb 15
Developer: Eric Sammons
Distribution Type: Freeware
Downloads: 35

Rating: 2.5/5 (Total Votes: 4)

pytest-marker-bugzilla is a py.test plugin for Bugzilla integration. This plugin currently assumes the following workflow:

bug_status in ['NEW', 'ASSIGNED', 'ON_DEV'] means the bug is known and is being worked on and therefore the test should be skipped and will be.

bug_status not in ['NEW', 'ASSIGNED', 'ON_DEV'] means the bug is in a state ready for QE and the test will be run and reported on.

Please feel free to contribute by forking and submitting pull requests or by submitting feature requests or issues to issues.

Installation

pip-python install pytest_marker_bugzilla

Usage

1. Create a bugzilla.cfg in the root of your tests

 [DEFAULT]
 bugzilla_url = https://bugzilla.fqdn/xmlrpc.cgi
 bugzilla_username = USERNAME (or blank for public bugs)
 bugzilla_password = PASSWORD (or blank for public bugs)


2. Options can be overridden with command line options.

 py.test --help

3. Mark your tests with bugzilla marker and bug id.

 @pytest.mark.bugzilla('bug_id')

4. Run py.test with bugzilla option to enable the plugin.

 py.test --bugzilla

Requirements:

  • Python
  • python-bugzilla

Similar Software

cynic
cynic

14 Apr 15

Clamity
Clamity

12 May 15

gunit-hildon
gunit-hildon

3 Jun 15

Comments to pytest-marker-bugzilla

Comments not found
Add Comment
Turn on images!