Main automation lib
Project description
qatestlink XMLRPC manager for Testlink
Branch |
Linux Deploy |
Windows Deploy |
---|---|---|
master |
Python tested versions
3.6
3.5
3.4
3.3 (not supported)
3.2 (not supported)
2.7
Code Metrics by sonarqube
PIP install
pip install qatestlink
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
TOX environments
Env name |
Env description |
---|---|
py27,py34,py35,py36 |
Python supported versions |
docs |
Generate doc HTML in /docs |
flake8 |
Exec linter in qalab/ tests/ |
coverage |
Generate XML and HTML reports |
Usage ( XMLRPC )
Create JSON configuration ( runtime or read from file, read config section )
Instance testlink_manager object testlink_manager = TLManager(settings=my_json_config)
Use some method name with prefix ‘api_’
api_login
XMLRPC: call to method named ‘tl.checkDevKey’
Description : check if dev_key it’s valid
api_tprojects
XMLRPC: call to method named ‘tl.getProjects’
Description : get all test projects
api_tproject
XMLRPC: call to method named ‘tl.getTestProjectByName’
Description : get one test project filtered by name
api_tproject_tplans
XMLRPC: call to method named ‘tl.getProjectTestPlans’
Description : get all test plans for one test project
api_tproject_tsuites_first_level
XMLRPC: call to method named ‘tl.getFirstLevelTestSuitesForTestProject’
Description : get all test suites on first level for one test project
api_tplan
XMLRPC: call to method named ‘tl.getTestPlanByName’
Description : get one test plan filtered by project and plan names
api_tplan_platforms
XMLRPC: call to method named ‘tl.getTestPlanPlatforms’
Description : get one test plan filtered by project and plan names
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.