Skip to content

UNSTABLE v0.1.1

Compare
Choose a tag to compare
@netzulo netzulo released this 15 Sep 17:44
· 18 commits to master since this release

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 )


    1. Create JSON configuration ( runtime or read from file, read config section )
    1. Instance testlink_manager object testlink_manager = TLManager(settings=my_json_config)
    1. 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()