TestLink-ApiCustomizedClient


NameTestLink-ApiCustomizedClient JSON
Version 0.8.2.dev141 PyPI version JSON
download
home_pagehttps://github.com/lczub/TestLink-API-Python-client
SummaryPython XML-RPC client for TestLink 1.9.20-fixed_c88e348ce
upload_time2023-04-03 11:32:16
maintainer
docs_urlNone
authorJames Stock, Olivier Renault, Luiko Czub, TestLink-API-Python-client developers
requires_python
licenseApache 2.0
keywords testing testlink xml-rpc testautomation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            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_ 

.. _TestLink: http://testlink.org
.. _JinFeng: http://www.sqaopen.net/blog/en/?p=63
.. _Robot Framework: http://code.google.com/p/robotframework
.. _Jenkins: http://jenkins-ci.org
.. _Wiki: https://github.com/lczub/TestLink-API-Python-client/wiki

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lczub/TestLink-API-Python-client",
    "name": "TestLink-ApiCustomizedClient",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "testing,testlink,xml-rpc,testautomation",
    "author": "James Stock, Olivier Renault, Luiko Czub, TestLink-API-Python-client developers",
    "author_email": "orenault@gmail.com, Luiko.Czub@Liegkat-Archiv.de",
    "download_url": "https://files.pythonhosted.org/packages/86/99/7594e562741bce90afa7e9672951ebb4a37faf72f76036b91142c8de5abf/TestLink-ApiCustomizedClient-0.8.2.dev141.tar.gz",
    "platform": "any",
    "description": "TestLink-API-Python-client is a Python XML-RPC client for TestLink_.\n\nInitially based on James Stock testlink-api-python-client R7 and  Olivier \nRenault JinFeng_ idea - an interaction of TestLink_, `Robot Framework`_ and Jenkins_.\n\nTestLink-API-Python-client delivers two main classes\n\n- TestlinkAPIGeneric - Implements the TestLink API methods as generic PY methods\n  with error handling\n- TestlinkAPIClient - Inherits from TestlinkAPIGeneric and defines service \n  methods like \"copyTCnewVersion\".\n\nand the helper class\n\n- TestLinkHelper - search connection parameter from environment variables and \n  command line arguments\n  \nHow to talk with TestLink in a python shell and copy a test case: ::\n\n set TESTLINK_API_PYTHON_SERVER_URL=http://[YOURSERVER]/testlink/lib/api/xmlrpc/v1/xmlrpc.php\n set TESTLINK_API_PYTHON_DEVKEY=[Users devKey generated by TestLink]\n python\n >>> import testlink\n >>> tls = testlink.TestLinkHelper().connect(testlink.TestlinkAPIClient)\n >>> tls.countProjects()\n 3\n >>> tc_info = tls.getTestCase(None, testcaseexternalid='NPROAPI-3')\n [{'full_tc_external_id': 'NPROAPI-3', ..., 'id': '5440',  'version': '2',  \n   'testsuite_id': '5415', 'tc_external_id': '3','testcase_id': '5425', ...}]\n >>> tls.copyTCnewTestCase(tc_info[0]['testcase_id'], testsuiteid=newSuiteID, \n                                          testcasename='a new test case name')\n >>> print tls.whatArgs('createTestPlan')\n createTestPlan(<testplanname>, <testprojectname>, [note=<note>], [active=<active>], \n                [public=<public>], [devKey=<devKey>])\n   create a test plan \n\nMore information about this library can be found on the Wiki_ \n\n.. _TestLink: http://testlink.org\n.. _JinFeng: http://www.sqaopen.net/blog/en/?p=63\n.. _Robot Framework: http://code.google.com/p/robotframework\n.. _Jenkins: http://jenkins-ci.org\n.. _Wiki: https://github.com/lczub/TestLink-API-Python-client/wiki\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Python XML-RPC client for TestLink 1.9.20-fixed_c88e348ce",
    "version": "0.8.2.dev141",
    "split_keywords": [
        "testing",
        "testlink",
        "xml-rpc",
        "testautomation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "558e345a33d92b09776d034eb77811f18ee8bfa0f24c21a81ac266a9e5dc1981",
                "md5": "81bee3d5df5ae0ee1e1ba542753c7c83",
                "sha256": "61c8739bae26116ef14e47269bfd7eb2ce51081a21920785299899b262fb9bbd"
            },
            "downloads": -1,
            "filename": "TestLink_ApiCustomizedClient-0.8.2.dev141-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "81bee3d5df5ae0ee1e1ba542753c7c83",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 45646,
            "upload_time": "2023-04-03T11:32:12",
            "upload_time_iso_8601": "2023-04-03T11:32:12.567934Z",
            "url": "https://files.pythonhosted.org/packages/55/8e/345a33d92b09776d034eb77811f18ee8bfa0f24c21a81ac266a9e5dc1981/TestLink_ApiCustomizedClient-0.8.2.dev141-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86997594e562741bce90afa7e9672951ebb4a37faf72f76036b91142c8de5abf",
                "md5": "7f791e3552d76da97135b1eb84e4e7d1",
                "sha256": "0c7a0f32c19a0a3285746c31278d70eccfa72f0f71df357877234ff5e697941c"
            },
            "downloads": -1,
            "filename": "TestLink-ApiCustomizedClient-0.8.2.dev141.tar.gz",
            "has_sig": false,
            "md5_digest": "7f791e3552d76da97135b1eb84e4e7d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 97886,
            "upload_time": "2023-04-03T11:32:16",
            "upload_time_iso_8601": "2023-04-03T11:32:16.019464Z",
            "url": "https://files.pythonhosted.org/packages/86/99/7594e562741bce90afa7e9672951ebb4a37faf72f76036b91142c8de5abf/TestLink-ApiCustomizedClient-0.8.2.dev141.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-03 11:32:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "lczub",
    "github_project": "TestLink-API-Python-client",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "testlink-apicustomizedclient"
}
        
Elapsed time: 0.05193s