This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Intro
=====
[PyTest][pytest] 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][githubissues]

Requires
========
* pytest >= 2.2.3
* python-bugzilla >= 0.6.2
* six

Installation
============
pip-python install pytest_marker_bugzilla

Usage
=====
1. Create a bugzilla.cfg in the root of your tests.
You can also put it under $HOME and /etc.

[DEFAULT]
bugzilla_url = https://bugzilla.fqdn/xmlrpc.cgi
# Username for authentication
bugzilla_username = USERNAME (or blank for public bugs)
# Password for authentication
bugzilla_password = PASSWORD (or blank for public bugs)
# Version of your product
bugzilla_version = X.Y (or blank if not relevant)
# Tuple of fixed_in and target_release attribute of bug
bugzilla_loose = (leave blank for default)

Options can be overridden with command line options.

py.test --help

2. Mark your tests with bugzilla marker and bug id(s).

@pytest.mark.bugzilla('bug_id', ...)

In order to skip the test, all of the specified bugs must lead to
skipping. Even just one unskipped means that the test will not be skipped.

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

py.test --bugzilla

Conditional guards
------------------

The conditional guards, are functions which can xfail or skip the test when
condition is met.

@pytest.mark.bugzilla(1234, skip_when=lambda bug: bug.status == "POST")

@pytest.mark.bugzilla(
567, xfail_when=lambda bug, version: bug.fixed_in > version
)

The guard is a function, it will receive max. 2 parameters. It depends what
parameters you specify.

The parameters are:

* bug - specific BZ bug
* version - tested product version

Order or presence does not matter.

Test library
============
When you do changes please make sure that you pass current tests.

tox

Please also try to cover new features by writing new tests.

Enjoy.

[pytest]: http://pytest.org/latest/
[githubissues]: https://github.com/eanxgeek/pytest_marker_bugzilla/issues
Release History

Release History

0.7

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.06

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.05

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.04

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.03

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.02

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.01

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest-marker-bugzilla-0.7.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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