Skip to main content

No project description provided

Project description

Plugin installation

To install this library for use please enter the following command (pypi integration coming soon):

$ pip install git+git://github.com/InbarRose/pytest_xrayjira@master#egg=pytest_xrayjira

To use this plugin

To take advantage of the pytest xrayjira plugin, use markers from pytest to associate a test function with a test key:

import pytest

@pytest.mark.xrayjira(test_key="KEY-12345")
def test_my_function():
    assert True == True

Enable the plugin by passing the extra options to the command line when invoking the pytest runner:

$ pytest . --upload-results-to-jira-xray

It is important that the environment variables XRAY_API_CLIENT_ID and XRAY_API_CLIENT_SECRET are set for pytest_xrayjira to sucessfully post results to the Xray API.

This will create a new test execution which will include all tests that were run.

Maintenance notes

Please make sure that any new releases of the library use an incremented version number from the last. The following guidance is used to properly version bump this library {major}.{minor}.{patch}.

Major versions are increased for any new overall library features or general API breaking changes.

Minor versions are increased for any new features added or implementation changes to existing APIs.

Patch versions are increased for any bug fixes and non-breaking changes.

To automatically bump versions, best to install bump2version, then enter either of the following on the command line:

$ bump2version major

or

$ bump2version minor

or

$ bump2version patch

These commands automatically commits and tags a new version. Make sure to push tags to the server with

$ git push && git push --tags

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_xrayjira-0.10.7.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

pytest_xrayjira-0.10.7-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pytest_xrayjira-0.10.7.tar.gz.

File metadata

  • Download URL: pytest_xrayjira-0.10.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pytest_xrayjira-0.10.7.tar.gz
Algorithm Hash digest
SHA256 b79c63aceeee71db5cd5097308a479cde533a16c3e7d9436bb4f2662e10ca4fb
MD5 7781f854131c8b9ae9df2a1191aa2668
BLAKE2b-256 559773ffa3799bccfc139b9849eaf981534cb473f902f0019eda058d7f211517

See more details on using hashes here.

File details

Details for the file pytest_xrayjira-0.10.7-py3-none-any.whl.

File metadata

  • Download URL: pytest_xrayjira-0.10.7-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pytest_xrayjira-0.10.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ff952d6ac4b2d9b5ebb6983506fe7a027ef4526247bb4a5d0b97eb2bb878ddea
MD5 7971e5ae0ab9ed87704762fed776264c
BLAKE2b-256 ae42b261797b9510442df8e28c6caf8cfd7359c8f21fb4433ac4b072c78148d8

See more details on using hashes here.

Supported by

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