testlink-api-client
XML-RPC Client For TestLink
Installation
#!/bin/bash
pip install TestlinkApiCLient
Example
#!/usr/bin/env python
from TestlinkApiClient.xmlrpc import TestlinkClient
# Connect Testlink
testlink = TestlinkClient(url='Testlink Access Url', user='Testlink Username', dev_key='Personal Api Key')
# List Project
testlink.list_project()
Function List
- Project Operations
testlink.list_project()
testlink.create_project(project_name='Project Name')
testlink.create_project(project_name='Project Name', prefix='Prefix')
testlink.delete_project(project_name='Project Name')
- Plan Operations
testlink.list_plan(project_name='Project Name')
- Suite Operations
testlink.list_suite(project_name='Project Name')
testlink.list_suite(project_name='Project Name', suite_name='Suite Name')
testlink.get_suite(project_name='Project Name', suite_name='Suite Name')
testlink.create_suite(project_name='Project Name', suite_name='Suite Name')
testlink.create_suite(project_name='Project Name', suite_name='Suite Name', parent_suite_name='Parent Suite Name')
- Case Operations
testlink.get_case(project_name='Project Name', case_ext_id='Test Case External ID')
testlink.create_case(project_name='Project Name', suite_name='Suite Name', case_name='Test Case Title')
testlink.create_case(project_name='Project Name', suite_name='Suite Name', case_name='Test Case Title', summary='Test Case Summary', steps='Test Case Steps')
testlink.update_step(case_ext_id='Test Case External ID', steps='Test Case Steps')
testlink.set_execution_result(project_name='Project Name', plan_name='Plan Name', build_name='Build Name',
case_ext_id='Test Case External ID', case_exe_result='Execition Result')
testlink.set_execution_result(project_name='Project Name', plan_name='Plan Name', build_name='Build Name',
case_ext_id='Test Case External ID', case_exe_result='Execution Result',
notes='Execution Log or Notes')
testlink.get_last_execution_result(project_name='Project Name', plan_name='Plan Name', case_ext_id='Test Case External ID')
Parameters Description
- Test Case Steps
Steps is a list, every step format could find from testlink.step_template
- Execution Result
PASS: p, pass, passed
FAIL: f, fail, failed
BLOCK: b, block, blocked
Rest Client For TestLink
In The Future
Metadata
Release files for TestlinkApiClient 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| TestlinkApiClient-0.5.1.tar.gz | 8.9 kB | Without provenance | Details for TestlinkApiClient-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| TestlinkApiClient-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for TestlinkApiClient-0.5.1-py3-none-any.whl |
Total release size: 17.6 kB
Release files / TestlinkApiClient-0.5.1.tar.gz
| Download URL | TestlinkApiClient-0.5.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6a914442c8e023c7a100fe9b58620053bb1714937033a429316b7410c22e290
|
|
BLAKE2b-256 checksum How to use checksums |
8e879dd45a0e6432a4aa3e89810bc21a30d0c53b9f69d714ade8740004a8f3c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.46.0 CPython/3.8.2
|
Release files / TestlinkApiClient-0.5.1-py3-none-any.whl
| Download URL | TestlinkApiClient-0.5.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae6c2feb9d0960cbe06efd5efcc32741805e110d556f8c1bbc984486251515eb
|
|
BLAKE2b-256 checksum How to use checksums |
92a61f278110566c9fe3b6ffabd39de4543df739bf247377735394c9405f829c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.46.0 CPython/3.8.2
|
Security for TestlinkApiClient 0.5.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.