diff --git a/cmd/kyma/test/run/cmd.go b/cmd/kyma/test/run/cmd.go index dee61a9cc..8f655cc52 100644 --- a/cmd/kyma/test/run/cmd.go +++ b/cmd/kyma/test/run/cmd.go @@ -42,8 +42,8 @@ To execute all test defintions, run `+"`kyma test run -n example-test`"+`. } cobraCmd.Flags().StringVarP(&o.Name, "name", "n", "", "Specifies the name of the new test suite. If you don't specify the value for the `-n` flag, the name of the test suite will be autogenerated.") - cobraCmd.Flags().Int64VarP(&o.ExecutionCount, "count", "c", 1, "Defines how many times every test should be executed. ExecutionCount and MaxRetries flags are mutually exclusive.") - cobraCmd.Flags().Int64VarP(&o.MaxRetries, "max-retries", "", 0, "Defines how many times a given test is retried when it fails. A suite is marked with a succeeded status even if some tests failed at first and then finally succeeded. The default value of 0 means that there are no retries of a given test.") + cobraCmd.Flags().Int64VarP(&o.ExecutionCount, "count", "c", 1, "Defines how many times every test should be executed. \"count\" and \"max-retries\" flags are mutually exclusive.") + cobraCmd.Flags().Int64VarP(&o.MaxRetries, "max-retries", "", 0, "Defines how many times a given test is retried when it fails. A suite is marked with a \"succeeded\" status even if some tests failed at first and then finally succeeded. The default value of 0 means that there are no retries of a given test.") cobraCmd.Flags().Int64VarP(&o.Concurrency, "concurrency", "", 1, "Specifies the number of tests to be executed in parallel.") cobraCmd.Flags().Bool("help", false, "Displays help for the command.") return cobraCmd diff --git a/docs/gen-docs/kyma_test_run.md b/docs/gen-docs/kyma_test_run.md index 53ee5aefd..15a4ea2b9 100644 --- a/docs/gen-docs/kyma_test_run.md +++ b/docs/gen-docs/kyma_test_run.md @@ -20,9 +20,9 @@ kyma test run ... [fl ``` --concurrency int Specifies the number of tests to be executed in parallel. (default 1) - -c, --count int Defines how many times every test should be executed. ExecutionCount and MaxRetries flags are mutually exclusive. (default 1) + -c, --count int Defines how many times every test should be executed. "count" and "max-retries" flags are mutually exclusive. (default 1) -h, --help Displays help for the command. - --max-retries int Defines how many times a given test is retried when it fails. A suite is marked with a succeeded status even if some tests failed and then finally succeeded. The default value of 0 means that there are no retries of a given test. + --max-retries int Defines how many times a given test is retried when it fails. A suite is marked with a "succeeded" status even if some tests failed and then finally succeeded. The default value of 0 means that there are no retries of a given test. -n, --name -n Specifies the name of the new test suite. If you don't specify the value for the -n flag, the name of the test suite will be autogenerated. ```