Skip to main content

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:

  • --project-key — Jira project key when ids are short (default: ZEPHYR_PROJECT_KEY env).
  • --duration — Execution duration in seconds.
  • --comment — Execution comment.
  • --environment — Optional environmentName for Zephyr.
  • --no-create-execution — Do not POST a new execution if the testcase is missing from the cycle.

Authentication uses your existing Zephyr Scale API token (see client.py / env vars used by get_token()).

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",
)

Development

pip install -e ".[dev]"
pytest
python -m build
twine check dist/*

License

Proprietary — see LICENSE.

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

zephyr_scale_test_cycle-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zephyr_scale_test_cycle-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file zephyr_scale_test_cycle-0.1.0.tar.gz.

File metadata

  • Download URL: zephyr_scale_test_cycle-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for zephyr_scale_test_cycle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9134b83fe0d87b984c4baaec3f15bede3590ed15b13e57964ccf109faf76b5e
MD5 2347276e566d6b61442237995d5c3aaf
BLAKE2b-256 e23065d848b3cc03d89c0ad1a5d536f463ae9098e623a6acb44286530ad81898

See more details on using hashes here.

File details

Details for the file zephyr_scale_test_cycle-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zephyr_scale_test_cycle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6dd49b791a86811314f092e0fc81f4d292a3ec737cebda251c3ea81592ec6cf3
MD5 a76909bee895fc548360f3599a77a4bd
BLAKE2b-256 8b7d974c7e0c70af934de6f647a42e73c4652aa6b7af5519a556e637552bb560

See more details on using hashes here.

Supported by

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