Update Zephyr Scale Cloud test cycle executions from CI, workflows, or BDD.
Project description
zephyr-scale-test-cycle
Update Zephyr Scale Cloud test cycle executions from CI, workflows, or BDD.
Install
pip install zephyr-scale-test-cycle
Requires Python 3.10+.
CLI
After install, use the console script or module form:
zephyr-scale-cycle-update --test-cycle-id R123 --testcase-id T456 --status Pass
python -m zephyr_scale_test_cycle --test-cycle-id R123 --testcase-id T456 --status Pass
Common options:
--version— Print the program version and exit.--project-key— Jira project key when ids are short (default:ZEPHYR_PROJECT_KEYenv).--duration— Execution duration in seconds.--comment— Execution comment.--environment— OptionalenvironmentNamefor Zephyr.--no-create-execution— Do not POST a new execution if the testcase is missing from the cycle.
Environment variables
| Variable | Required | Description |
|---|---|---|
ZEPHYR_SCALE_TOKEN |
Yes (for API calls) | Zephyr Scale Cloud API bearer token. If unset or empty, requests run without a valid token and the API will fail. |
ZEPHYR_PROJECT_KEY |
When using short cycle ids | Jira / project key (e.g. PROJ). Needed when --test-cycle-id is only the numeric part (e.g. R123) instead of a full key like PROJ-R123. Same as passing --project-key. |
ZEPHYR_SCALE_BASE_URL |
No | API root URL. Default: https://api.zephyrscale.smartbear.com/v2. Override for custom endpoints or testing. |
Example:
export ZEPHYR_SCALE_TOKEN="your-api-token"
export ZEPHYR_PROJECT_KEY="PROJ"
zephyr-scale-cycle-update --test-cycle-id R123 --testcase-id T456 --status Pass
Library
from zephyr_scale_test_cycle import update_test_execution, get_execution_keys
ok = update_test_execution(
test_cycle_id="PROJ-R123",
testcase_id="PROJ-T456",
status="Pass",
)
License
Proprietary — see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zephyr_scale_test_cycle-0.1.1.tar.gz.
File metadata
- Download URL: zephyr_scale_test_cycle-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0810f28e8c31f8938210d855692d7a56f5483a5bc8b50d8cbce33914d82f5eef
|
|
| MD5 |
2257d9fec7afb598332e38aa129a43db
|
|
| BLAKE2b-256 |
afe1ec893134de321f16bfc28a3ad2a12c2c7c01cd1634189c6ebd6900c09e80
|
File details
Details for the file zephyr_scale_test_cycle-0.1.1-py3-none-any.whl.
File metadata
- Download URL: zephyr_scale_test_cycle-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f81628271f943eb3dee8879c42f2ac4b1013be0728fbad7e78e2c99105abc45
|
|
| MD5 |
1c3f90ff6aba50af2a1a3e8fbe93bcc3
|
|
| BLAKE2b-256 |
e4b6c9f8deed7114fe4ffb710e34e40e416127f7c6a37de520d41c7db8fb0a42
|