Skip to main content

py.test JIRA integration plugin, using markers

Project description

# Intro
[PyTest][pytest] plugin for JIRA integration. This plugin currently assumes the
following workflow:

A JIRA issue with status in ['Closed', 'Resolved'] is assumed to be resolved.
All other issues are considered unresolved.

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
* jira-python >= 0.13

## Installation
``pip install pytest_jira``

## Usage
1. Create a jira.cfg in the root of your tests

[DEFAULT]
url = https://jira.atlassian.com
username = USERNAME (or blank for no authentication)
password = PASSWORD (or blank for no authentication)

Options can be overridden with command line options.

``py.test --help``

2. Mark your tests with jira marker and issue id.
``@pytest.mark.jira('issue_id')``

3. Run py.test with jira option to enable the plugin.
``py.test --jira``

[pytest]: http://pytest.org/latest/
[githubissues]: https://github.com/jlaska/pytest_jira/issues

Project details


Download files

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

Source Distribution

pytest-jira-0.01.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file pytest-jira-0.01.tar.gz.

File metadata

  • Download URL: pytest-jira-0.01.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-jira-0.01.tar.gz
Algorithm Hash digest
SHA256 c6458fa1f60046f2df94a61ad01d922bbe951402608b00f2aa3d5934642e7bd4
MD5 2f5c85162f448690a1c5043910af4f54
BLAKE2b-256 e0c1663a4e3b989cff2d0941bd53a29d55de4cfe27f5e67aa2a5fe912aee378f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page