Skip to content

Commit

Permalink
feat: add *.yaml extension in venom run usage message
Browse files Browse the repository at this point in the history
Signed-off-by: scraly <scraly@gmail.com>
  • Loading branch information
scraly authored and fsamin committed Jan 28, 2022
1 parent 1273b88 commit 8b99d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/venom/run/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ func displayArg(ctx context.Context) {
var Cmd = &cobra.Command{
Use: "run",
Short: "Run Tests",
Example: ` Run all testsuites containing in files ending with *.yml: venom run
Example: ` Run all testsuites containing in files ending with *.yml or *.yaml: venom run
Run a single testsuite: venom run mytestfile.yml
Run a single testsuite and export the result in JSON format in test/ folder: venom run mytestfile.yml --format=json --output-dir=test
Run a single testsuite and specify a variable: venom run mytestfile.yml --var="foo=bar"
Run a single testsuite and load all variables from a file: venom run mytestfile.yml --var-from-file variables.yaml
Run all testsuites containing in files ending with *.yml with verbosity: VENOM_VERBOSE=2 venom run
Run all testsuites containing in files ending with *.yml or *.yaml with verbosity: VENOM_VERBOSE=2 venom run
Notice that variables initialized with -var-from-file argument can be overrided with -var argument
Expand Down

0 comments on commit 8b99d65

Please sign in to comment.