custom-qase-client
This is an unofficial client QASE
Official client: https://github.com/qase-tms/qase-python
API QASE: https://developers.qase.io/reference/
Guide: https://developers.qase.io/docs
Installation
You can install via pip
$ pip install cqase-client
or with poetry
$ poetry add -D cqase-client
How to work
First, get api token from page https://app.qase.io/user/api/token (See guide)
For body and params use dict type, like in requests library
from cqase.client import QaseClient
client = QaseClient(api_token='YOUR_API_TOKEN')
code = 'CODE' # project code
# create project
body = {'title': f'Title test project', 'code': code, 'access': 'all'}
client.projects.create(body=body)
# create suite
body = {"title": "test suit"}
client.suites.create(code=code, body=body)
# create case
body = {"title": "test case"}
client.cases.create(code=code, body=body)
# create test run
body = {"title": "test run"}
client.runs.create(code=code, body=body)
# upload attachment
client.attachments.upload(code, "./cat.jpeg")
# finish test run
client.runs.complete(code=code, uuid=1)
Metadata
Release files for cqase-client 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cqase-client-0.1.3.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cqase_client-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / cqase-client-0.1.3.tar.gz
| Download URL | cqase-client-0.1.3.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63e458c015b97b2cd8b88981f6b8d8dba959f96aeae08514815843290b3a02fa
|
|
BLAKE2b-256 checksum How to use checksums |
fd6f283fc6934d78cffa840e92902b8e8f05ffd2643f6d0d4cd4e2c63560add0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.9 Darwin/21.5.0
|
Release files / cqase_client-0.1.3-py3-none-any.whl
| Download URL | cqase_client-0.1.3-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34f4da8b333aa511a44d9fd7a0d1f2d467d8a72484e62b4b786e6c14050d44c1
|
|
BLAKE2b-256 checksum How to use checksums |
d91e7e622a09afe279f113d3965ae8d5417cc51b40235d167823fad24cbe6d6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.9 Darwin/21.5.0
|