Skip to main content

Main automation lib

Project description

qatestlink XMLRPC manager for Testlink

Issues on Github Pull Request opened on Github Release version on Github Release date on Github

Branch

Linux Deploy

Windows Deploy

master

https://travis-ci.org/netzulo/qatestlink.svg?branch=master https://ci.appveyor.com/api/projects/status/7low4kw7qa6a5vem/branch/master?svg=true

Python tested versions

  • 3.6

  • 3.5

  • 3.4

  • 3.3 (not supported)

  • 3.2 (not supported)

  • 2.7

Code Metrics by sonarqube

Quality Gate Lines Bugs Vulnerabilities Code Smells Debt ratio Comments

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 )

    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 prefixapi_

api_login

  • XMLRPC: call to method namedtl.checkDevKey

  • Description : check if dev_key it’s valid

api_tprojects

  • XMLRPC: call to method namedtl.getProjects

  • Description : get all test projects

api_tproject

  • XMLRPC: call to method namedtl.getTestProjectByName

  • Description : get one test project filtered by name

api_tproject_tplans

  • XMLRPC: call to method namedtl.getProjectTestPlans

  • Description : get all test plans for one test project

api_tproject_tsuites_first_level

  • XMLRPC: call to method namedtl.getFirstLevelTestSuitesForTestProject

  • Description : get all test suites on first level for one test project

api_tplan

  • XMLRPC: call to method namedtl.getTestPlanByName

  • Description : get one test plan filtered by project and plan names

api_tplan_platforms

  • XMLRPC: call to method namedtl.getTestPlanPlatforms

  • Description : get one test plan filtered by project and plan names

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qatestlink-0.0.5.tar.gz (40.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page