qase
Qase TestOps API v2 Specification.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 2.0.0
- Package version: 1.0.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit https://qase.io
Requirements.
Python 3.7+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import qase.api_client_v2
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import qase.api_client_v2
Tests
Execute pytest
to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
from qase.api_client_v2.rest import ApiException
from pprint import pprint
configuration = qase.api_client_v2.Configuration(
host="https://api.qase.io/v2"
)
configuration.api_key['TokenAuth'] = os.environ["API_KEY"]
with qase.api_client_v2.ApiClient(configuration) as api_client:
api_instance = qase.api_client_v2.ResultsApi(api_client)
project_code = 'project_code_example'
run_id = 56
result_create = qase.api_client_v2.ResultCreate()
try:
api_instance.create_result_v2(project_code, run_id, result_create)
except ApiException as e:
print("Exception when calling ResultsApi->create_result_v2: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.qase.io/v2
Class | Method | HTTP request | Description |
---|
ResultsApi | create_result_v2 | POST /{project_code}/run/{run_id}/result | (Beta) Create test run result |
ResultsApi | create_results_v2 | POST /{project_code}/run/{run_id}/results | (Beta) Bulk create test run result |
Documentation For Models
Documentation For Authorization
Authentication schemes defined for the API:
TokenAuth
- Type: API key
- API key parameter name: Token
- Location: HTTP header
Author
support@qase.io