Qase TMS Robot Framework Listener
Project description
Qase TMS Robot Framework Listener
Installation
pip install qase-robotframework
Usage
You must add Qase case IDs to robot framework tests.
They should be added as a tags in form like Q-<case id without project code>
. Examples:
*** Test Cases ***
Push button
[Tags] Q-2
Push button 1
Result should be 1
Push multiple buttons
[Tags] Q-3
Push button 1
Push button 2
Result should be 12
*** Test Cases *** Expression Expected
Addition 12 + 2 + 2 16
2 + -3 -1
[Tags] Q-7
Subtraction 12 - 2 - 2 8
2 - -3 5
[Tags] Q-8
After adding new tags and configuring listener - you could simply use it like this:
robot --listener qaseio.robotframework.Listener keyword_driven.robot data_driven.robot
Configuration
Listener supports loading configuration both from environment variables and from tox.ini
file.
ENV variables:
QASE_API_TOKEN
- API token to access Qase TMSQASE_PROJECT
- Project code from Qase TMSQASE_RUN_ID
- Run ID if you want to add results to existing runQASE_RUN_NAME
- Set custom run name when no run ID is provided
tox.ini
configuration:
[qase]
qase_api_token=<API TOKEN>
qase_project=PROJECTCODE
qase_run_id=14
qase_run_name=New Robot Framework Run
Contribution
Install project locally:
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[testing]
Install dev requirements:
pip install pre-commit
pre-commit install
Test project:
tox
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.
Source Distribution
qase-robotframework-0.1.0.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for qase-robotframework-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3d2efcd8fe893ba32c85f759ee8d2a5c1b013b2d45af4073664b597452a3ee |
|
MD5 | c86a4dc2e67b00d45f9fa41df962bd36 |
|
BLAKE2b-256 | 9a990018cf476ebf3cf3ac3d157a0e6a6566bfd925c96b52c35b9a8baaa2604e |
Close
Hashes for qase_robotframework-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f480d65fc9db4c22f783200a3b6b523e7196f4c9c5f910dfcf8061edb5d7f147 |
|
MD5 | 6d918f93fedcf6a416cb9873cbc5274e |
|
BLAKE2b-256 | ad4ebe63079b39cf7dc328cc12577abad2b2acb433044280dd679a4c289f2d49 |