Skip to main content

Testery CLI

Project description

Testery CLI

To install you must have Python 3 and pip installed, then run:

pip install testery

Upgrade via

pip install testery --upgrade

Create Test Run

Starts a test run.

testery create-test-run --token <yourTesteryApiToken> --project <projectKeyFromTestery> --build-id <uniqueBuildIdOfYourChoice> --environment <environmentToBeTested> --wait-for-results

When set, --fail-on-failure, will return an exit code of 1 if there are test failures.

Output Formats

  • teamcity
  • pretty
  • json
  • appveyor
  • octopus

Create Test Environment

Creates an environment where tests may be run.

testery create-environment --token "<your_Testery_Api_Token>" --key "<key>" --name "<name>" --variable "KEY1=FOO1" --variable "KEY2=FOO2" --variable "secure:KEY3=SECRET" --pipeline-stage "<pipeline_stage_name>"

Update Test Environment

Updates an environment where tests are run with some new variables or pipeline stage.

testery update-environment --token "<your_Testery_Api_Token>" --key "<key>" --name "<name>" --variable "KEY1=FOO1" --variable "KEY2=FOO2" --pipeline-stage "<pipeline_stage_name>"

Add environment variables from .env file

Takes in a .env file and adds or overwrites variables in target environment.

testery add-env-vars-from-file --token "<your_Testery_Api_Token>" --environment-key "<key>" --env-file "<path/to/file/.env>" --overwrite

Update Test Stage

Updates or creates a pipeline stage where tests are run with some new variables.

testery update-pipeline-stage --token "<your_Testery_Api_Token>" --name "<name>" --variable "KEY1=FOO1" --variable "KEY2=FOO2" --create-if-not-exists

Add Pipeline Stage variables from .env file

Takes in a .env file and adds or overwrites variables in target Pipeline.

testery add-stage-vars-from-file --token "<your_Testery_Api_Token>" --name "<name>" --env-file "<path/to/file/.env>" --overwrite

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

testery-1.15.2.dev31.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

testery-1.15.2.dev31-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file testery-1.15.2.dev31.tar.gz.

File metadata

  • Download URL: testery-1.15.2.dev31.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for testery-1.15.2.dev31.tar.gz
Algorithm Hash digest
SHA256 2d147222829c714842607847aeee43ffd82ec2f1559f8a67fbcea19df793fcd9
MD5 68bed34de2c8a3d41766a2285f7aef72
BLAKE2b-256 1f3419a4e4af32bb7e79415c233d5a49d71fed0598ae65aa3aa411289ca49003

See more details on using hashes here.

File details

Details for the file testery-1.15.2.dev31-py3-none-any.whl.

File metadata

  • Download URL: testery-1.15.2.dev31-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for testery-1.15.2.dev31-py3-none-any.whl
Algorithm Hash digest
SHA256 bf6cb78f8858bf6bf71125d870b9c354be9a764d74d18d78e1465ad50f7d22c0
MD5 a775c01095aa8e717e7db679b3187029
BLAKE2b-256 6aae8bb57bae0fdaa247f41616eca1ee41529ccbe0e57600d8303bd7b3ad79ab

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