Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

testkube_run_testsuite

testkube run testsuite

Starts new test suite

Synopsis

Starts new test suite based on TestSuite Custom Resource name, returns results to console

testkube run testsuite <testSuiteName> [flags]

Options

      --concurrency int                            concurrency level for multiple test suite execution (default 10)
--context string running context description for test suite execution
--disable-webhooks disable webhooks
-d, --download-artifacts download artifacts automatically
--download-dir string download dir (default "artifacts")
--execution-label stringToString execution-label adds a label to execution in form of key value pair: --execution-label key1=value1 (default [])
--format string data format for storing files, one of folder|archive (default "folder")
--git-branch string if uri is git repository we can set additional branch parameter
--git-commit string if uri is git repository we can use commit id (sha) parameter
--git-path string if repository is big we need to define additional path to directory/file to checkout partially
--git-working-dir string if repository contains multiple directories with tests (like monorepo) and one starting directory we can set working directory parameter
-h, --help help for testsuite
--http-proxy string http proxy for executor containers
--https-proxy string https proxy for executor containers
--job-template string job template file path for extensions to job template
--job-template-reference string reference to job template to use for the test
-l, --label strings label key value pair: --label key1=value1
--mask stringArray regexp to filter downloaded files, single or comma separated, like report/.* or .*\.json,.*\.js$
-n, --name string execution name, if empty will be autogenerated
--pvc-template string pvc template file path for extensions to pvc template
--pvc-template-reference string reference to pvc template to use for the test
--scraper-template string scraper template file path for extensions to scraper template
--scraper-template-reference string reference to scraper template to use for the test
-s, --secret-variable stringArray execution variables passed to executor
--secret-variable-reference stringToString secret variable references in a form name1=secret_name1=secret_key1 (default [])
--silent don't print intermediate test suite execution
-v, --variable stringArray execution variables passed to executor
-f, --watch watch for changes after start

Options inherited from parent commands

  -a, --api-uri string          api uri, default value read from config if set (default "http://localhost:8088")
-c, --client string client used for connecting to Testkube API one of proxy|direct|cluster (default "proxy")
--go-template string go template to render (default "{{.}}")
--header stringToString headers for direct client key value pair: --header name=value (default [])
--insecure insecure connection for direct client
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
-o, --output string output type can be one of json|yaml|pretty|go (default "pretty")
--verbose show additional debug messages

SEE ALSO