UNSTABLE v0.1.1
QA Testlink
qatestlink XMLRPC manager for Testlink
Python tested versions
- 3.6
- 3.5
- 3.4
- 3.3 (not supported)
- 3.2 (not supported)
- 2.7
PIP install
pip install qatestlink==0.0.9
SETUP.py install
python setup.py install
Configuration File
::
{
"connection":{
"is_https": false,
"host": "qalab.tk",
"port": 86
},
"dev_key": "ae2f4839476bea169f7461d74b0ed0ac",
"log_level":"DEBUG"
}
Tests
You will need real testlink app running before you can just execute on command line
python setup.py test
Usage ( XMLRPC )
-
- Create JSON configuration ( runtime or read from file, read config section )
-
- Instance testlink_manager object
testlink_manager = TLManager(settings=my_json_config)
- Instance testlink_manager object
-
- Use some method name with prefix 'api_'
::
from qatestlink.core.testlink_manager import TLManager
tlm = TLManager(settings={
"connection":{
"is_https": false,
"host": "qalab.tk",
"port": 86
},
"dev_key": "ae2f4839476bea169f7461d74b0ed0ac",
"log_level":"DEBUG"
})
# Now type some api_* method
tlm.api_check_devkey()