Python XML-RPC client for TestLink
Project description
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 “countProjects”.
and the helper class
TestLinkHelper - search connection parameter from environment variables and command line arguments
How to talk with TestLink in a python shell:
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 >>> tls.getTestCase(None, testcaseexternalid='NPROAPI3-1') [{'full_tc_external_id': 'NPROAPI3-1', 'node_order': '0', 'is_open': '1', 'id': '2757', ...}] >>> 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
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
Hashes for TestLink-API-Python-client-0.4.6.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9f20cc373141a837de4fd501e32c4de74387e639f6dddf40d0e8ab770c1c00a |
|
MD5 | d22c6a3e59c171d3a639f2a74b24c088 |
|
BLAKE2b-256 | 655611ec3c5ef54b31249e6a6b24b5095614317d373b74c2cdc8e832f7508401 |