Skip to main content

No project description provided

Project description

Plugin installation

To install this library for use please enter the following command:

$ pip install 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-1.0.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_xrayjira-1.0.2.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pytest_xrayjira-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4b9ac192c6f84415ac2551e26a8aa53fbc4b76cddd50fae4ad55972f1a92bec4
MD5 d74b7c292562cfa891d712c81f9b2939
BLAKE2b-256 9ac006f430b6c756668410ef41b5f7ee950ad9fc27eff4919daf8c8e52edeba7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_xrayjira-1.0.2-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for pytest_xrayjira-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a9757036b75b8a0c22122afb4a697583ccec55f4f3ecfaab559f22f8dc6f4af3
MD5 c64645ec5bb286e5f7dff42fae2033ad
BLAKE2b-256 6daee72042dea089eb14da23e6814b17c6020a1182f19e8d7c726adbae08b0e6

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