Add a short description here!
Project description
Qase TMS Python Api Client
Installation
TBD
Usage
Qase.io uses API tokens to authenticate requests. You can view an manage your API keys in API tokens pages.
You must replace api_token with your personal API key.
from qaseio import QaseApi
qase = QaseApi("api_token")
Projects
Get All Projects
This method allows to retrieve all projects available for your account. You can you limit and offset params to paginate.
projects = qase.projects.get_all()
Get All Projects
This method allows to retrieve a specific project.
project = qase.projects.get("PRJCODE")
Create a new project
This method is used to create a new project through API.
from qaseio.models import ProjectCreate
project = qase.projects.create(
ProjectCreate("Test project", "PRJCODE")
)
Test cases
Get all test cases
This method allows to retrieve all test cases stored in selected project. You can you limit and offset params to paginate.
test_cases = qase.test_cases.get_all("PRJCODE")
Get a specific test case
This method allows to retrieve a specific test case.
test_case = qase.test_cases.get("PRJCODE", 4)
Delete test case
This method completely deletes a test case from repository.
qase.test_cases.delete("PRJCODE", 4)
Test runs
Get all test runs
This method allows to retrieve all test runs stored in selected project. You can you limit and offset params to paginate.
from qaseio.models import TestRunInclude
test_runs = qase.runs.get_all("PRJCODE", include=TestRunInclude.CASES)
Get a specific test run
This method allows to retrieve a specific test run.
test_run = qase.runs.get("PRJCODE", 4)
Create a new test run
This method is used to create a new test run through API.
from qaseio.models import TestRunCreate
test_run = qase.runs.create(
TestRunCreate("Test run", [1, 2, 3])
)
Delete test run
This method completely deletes a test run from repository.
qase.runs.delete("PRJCODE", 4)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qaseio-1.0.0a2.tar.gz
.
File metadata
- Download URL: qaseio-1.0.0a2.tar.gz
- Upload date:
- Size: 15.6 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.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54f61303b12507aebc9162300d7dcc5756ada464bed04de4d9ab1a05c372851 |
|
MD5 | f4c819aa329faa66ff15b92638f5f6ec |
|
BLAKE2b-256 | f172d01304f2fe13e83760315496a0a96a1f4e494c2f3b14998627ffd4cf8841 |
File details
Details for the file qaseio-1.0.0a2-py2.py3-none-any.whl
.
File metadata
- Download URL: qaseio-1.0.0a2-py2.py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04900453aa646e73cc6c6af31d3904febee450a0b584b234f99c08cfe97e41d0 |
|
MD5 | a555222bd2c826038b460e2f4b83c336 |
|
BLAKE2b-256 | e0cebe53988622cabdbea819e5ac4819e5d07975b7cee3c42a20a2b9767772c3 |