Skip to main content

adaptavist

This python package provides functionality for Jira Test Management (tm4j).

Table of Contents

Installation

To install adaptavist, you can use the following command(s):

python -m pip install adaptavist

To uninstall adaptavist, you can use the following command:

python -m pip uninstall adaptavist

Getting Started

adaptavist is using the REST API of Adaptavist Test Management for Jira Server (see https://docs.adaptavist.io/tm4j/server/api/) and Jira's internal REST API, both with HTTP Basic authentication.

In order to access Adaptavist/Jira, valid credentials are necessary. In addition, getpass.getuser().lower() must be a known Jira user as well.

Examples and Features

General Workflow

 from adaptavist import Adaptavist

 # create a new instance
 atm = Adaptavist(jira_server, jira_username, jira_password)

 # create a test plan
 test_plan_key = atm.create_test_plan(project_key="TEST", test_plan_name="my test plan")

 # create a test cycle (formerly test run) with a set of test cases and add it to test plan
 test_run_key = atm.create_test_run(project_key="TEST", test_run_name="my test cycle", test_cases=["TEST-T1"], test_plan_key=test_plan_key)

 # as test cycle creation also creates/initializes test results, we can just edit these
 atm.edit_test_script_status(test_run_key=test_run_key, test_case_key="TEST-T1", step=1, status="Pass")

 # (optional) edit/overwrite the overall execution status of the test case (by default this is done automatically when editing status of a single step)
 atm.edit_test_result_status(test_run_key=test_run_key, test_case_key="TEST-T1", status="Pass")

There's much more inside (like adding attachments, creating folders and environments, cloning test cycles). Additional code examples will follow.

Metadata

Release files for adaptavist-fixed 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adaptavist-fixed 0.4
File Size Uploaded Provenance
adaptavist_fixed-0.4.tar.gz 27.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for adaptavist-fixed 0.4
File Interpreter ABI Platform
adaptavist_fixed-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / adaptavist_fixed-0.4.tar.gz

Download URL adaptavist_fixed-0.4.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
660a553735306c69c2247b292076f36e856fef02e16168cd045f3d654a5b5bfc
BLAKE2b-256 checksum
How to use checksums
254766726ea48c736fb1ed5c9770ca111abbf03671389f8f576f64b7e5ddcb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / adaptavist_fixed-0.4-py3-none-any.whl

Download URL adaptavist_fixed-0.4-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
934e5857e3d0faa75f00c6f399430761cc654dc8b2ebeb41009056f21926586b
BLAKE2b-256 checksum
How to use checksums
4754c5c75ddafe0d89be4553bf5e65e792b6218544e46a6eb7e471ccfb87c862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for adaptavist-fixed 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page