TestLink-API-Python-client is a Python XML-RPC client for TestLink.
Initially based on James Stock testlink-api-python-client R7 and Olivier Renault JinFeng idea - an interaction of TestLink, Robot Framework and Jenkins.
TestLink-API-Python-client delivers two main classes
TestlinkAPIGeneric - Implements the TestLink API methods as generic PY methods with error handling
TestlinkAPIClient - Inherits from TestlinkAPIGeneric and defines service methods like “copyTCnewVersion”.
and the helper class
TestLinkHelper - search connection parameter from environment variables and command line arguments
How to talk with TestLink in a python shell and copy a test case:
set TESTLINK_API_PYTHON_SERVER_URL=http://[YOURSERVER]/testlink/lib/api/xmlrpc/v1/xmlrpc.php
set TESTLINK_API_PYTHON_DEVKEY=[Users devKey generated by TestLink]
python
>>> import testlink
>>> tls = testlink.TestLinkHelper().connect(testlink.TestlinkAPIClient)
>>> tls.countProjects()
3
>>> tc_info = tls.getTestCase(None, testcaseexternalid='NPROAPI-3')
[{'full_tc_external_id': 'NPROAPI-3', ..., 'id': '5440', 'version': '2',
'testsuite_id': '5415', 'tc_external_id': '3','testcase_id': '5425', ...}]
>>> tls.copyTCnewTestCase(tc_info[0]['testcase_id'], testsuiteid=newSuiteID,
testcasename='a new test case name')
>>> print tls.whatArgs('createTestPlan')
createTestPlan(<testplanname>, <testprojectname>, [note=<note>], [active=<active>],
[public=<public>], [devKey=<devKey>])
create a test plan
More information about this library can be found on the Wiki
Metadata
Release files for TestLink-API-Python-client 0.8.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 |
|---|---|---|---|---|
| TestLink-API-Python-client-0.8.1.tar.gz | 91.5 kB | Without provenance | Details for TestLink-API-Python-client-0.8.1.tar.gz |
Release files / TestLink-API-Python-client-0.8.1.tar.gz
| Download URL | TestLink-API-Python-client-0.8.1.tar.gz |
|---|---|
| Size | 91.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c513be89f8ceab3138f01bfb2fb8bacccb5d24a82691f7936f354374d5ee4b1
|
|
BLAKE2b-256 checksum How to use checksums |
371bf9bd486e85c93ec033abd21daa040e90683fcdf0e9e27206d4666225a4cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for TestLink-API-Python-client 0.8.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.