Skip to main content
Testkube 1.21 is out! A new Execution Dashboard, Webhook Credentials and Test/Suite Deprecation are some of the major enhancements, Read More

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 is used to select test suites to run using key value pair: --label key1=value1 or label expression
--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

  • testkube run - Runs tests, test suites, test workflows or test workflow executions