Command: test
Usage
--dry-run Print the rendered testrun
--set stringArray sets additional helm values
--template run go templating on the configured file before execution
--testrunPath string path to the testrun file that should be executed
Config
test:
# Configures the default to run when specifying no additional parameters: /test .
default:
testrunPath: path/to/testrun
template: <bool> # default to false; Will run go-template
# Configures an additional subcommand that execute the defined test when running /test <subcommand>.
# For example the first configured test is executed when commenting a PR with "/test my-subcommand".
tests:
# simple testrun execution
- subCommand: my-subcommand
testrunPath: path/to/testrun # runs the specified testrun
template: <bool> # default to false; Will run go-template
# simple templated testrun
# configure "template=true" to template the configured testrun with gotemplate
# and the values configured by "--set". The helm syntax is used to configure parameters.
- subCommand: templated-test
testrunPath: path/to/testrun # runs the specified testrun
template: <bool> # defaults to false;