Skip to content

Latest commit

 

History

History
95 lines (68 loc) · 2.52 KB

README.md

File metadata and controls

95 lines (68 loc) · 2.52 KB

TestLink API Python Client

Copyright 2011-2012 James Stock, Olivier Renault, TestLink-API-Python-client developers

License Apache License 2.0

Introduction

TestLink-API-Python-client is a Python XMLRPC client for the TestLink API.

It's a brick of Olivier Renault JinFeng idea - an interaction of TestLink, Robot Framework and Jenkins.

Initially based on the James Stock testlink-api-python-client R7.

Directory Layout

src/

  • Source for TestLink API Python Client

tests/

  • Unit Tests for TestLink API Python Client

examples/

  • Examples, how to use the TestLink API Python Client

Installation

Install TestLinkAPI into a virtualenv environment

[PYTHON27]\Scripts\virtualenv [PYENV]\testlink
[PYENV]\testlink\Scripts\activate
python setup.py install

Run example with command line arguments

[PYENV]\testlink\Scripts\activate
python example\TestLinkExample.py 
               --server_url http://[YOURSERVER]/testlink/lib/api/xmlrpc.php
               --devKey [Users devKey generated by TestLink]

Run unittests with TestLink Server interaction

[PYENV]\testlink\Scripts\activate
set TESTLINK_API_PYTHON_SERVER_URL=http://[YOURSERVER]/testlink/lib/api/xmlrpc.php
set TESTLINK_API_PYTHON_DEVKEY=[Users devKey generated by TestLink]
cd test\utest
python -m unittest testlinkapicallservertest testlinkapi_online_test

Run unittests without TestLink Server interaction

[PYENV]\testlink\Scripts\activate
cd test\utest
python -m unittest testlinkhelpertest testlinkapi_offline_test

Download

see downloads

TestLink-API-Python-client developers