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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

testery-1.13.3-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file testery-1.13.3-py3-none-any.whl.

File metadata

  • Download URL: testery-1.13.3-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for testery-1.13.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79fe81b892cd638b3e778e34fa2e56c973a8d3c113f88319ae94c1765107f448
MD5 bbd410a0afd3c52beda5c76a5a0e1a2a
BLAKE2b-256 9835eccc5a2de2c92baa546ccb3d34c05ddab16c940c0cbf144e7fd35f273ab3

See more details on using hashes here.

Supported by

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