qatestlink XMLRPC manager for Testlink
Branch |
Linux Deploy |
Windows Deploy |
|---|---|---|
master |
Python tested versions
3.7 |
3.6 |
3.5 |
3.4 |
>=3.3 |
|---|---|---|---|---|
Supported |
Supported |
Supported |
Supported |
Not Supported |
How to install ?
Install from PIP : pip install qatestlink
Install from setup.py file : python setup.py install
Documentation
How to use library, searching for Usage Guide.
How to exec tests ?
Install dependencies for tests : pip install -r requirements-tests.txt
Tests from setup.py file : python setup.py test
Install TOX : pip install tox
Tests from tox : tox -l && tox -e TOX_ENV_NAME ( see tox.ini file to get environment names )
TOX Env name |
Env description |
|---|---|
py34,py35,py36 |
Python supported versions |
docs |
Generate doc HTML in /docs |
flake8 |
Exec linter in qalab/ tests/ |
coverage |
Generate XML and HTML reports |
Configuration File
{
"connection":{
"is_https": false,
"host": "ntz-qa.tk",
"port": 86
},
"dev_key": "1bfd2ef4ceda22b482b12f2b25457495",
"log_level":"INFO"
}
Tests
You will need real testlink app running before you can just execute on command line
python setup.py test
Getting Started
Just starting example of usage before read Usage Guide.
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_’
from qatestlink.core.testlink_manager import TLManager
from qatestlink.core.utils import settings
SETTINGS = settings(
file_path="/home/user/config/dir/",
file_name="settings.json"
)
try:
tlm = TLManager(settings=SETTINGS)
if not tlm.api_login():
raise Exception("Not logged for TestlinkWebApp")
# END
print(tlm.api_tprojects())
print("Test PASSED!")
except Exception as err:
print("ERROR: {}".format(err))
import pdb; pdb.set_trace() # TODO, remove DEBUG lane
print("Test FAILED!")
Metadata
Release files for qatestlink 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qatestlink-0.1.2.tar.gz | 59.1 kB | Without provenance | Details |
Release files / qatestlink-0.1.2.tar.gz
| Download URL | qatestlink-0.1.2.tar.gz |
|---|---|
| Size | 59.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ef0c6ffa24f3f1a785fef4259e11bf4a93d6216f483bde0814f6e7438a27b24
|
|
BLAKE2b-256 checksum How to use checksums |
7186ba5f0dee098425be118f98fdacf6e1d2c7406e8a8a149bd1dc04a3fbf049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for qatestlink 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.