File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# v2.4.0
22
33 - Add ability to test suite from a url
4+ - Add ability to test suite from stdin
45
56# v2.3.0
67
Original file line number Diff line number Diff line change @@ -201,10 +201,13 @@ $ ./commander test
201201$ ./commander test /tmp/test.yaml
202202
203203# Execute a single test
204- $ ./commander test /tmp/test.yaml "my test"
204+ $ ./commander test /tmp/test.yaml --filter "my test"
205+
206+ # Execute suite from stdin
207+ $ cat /tmp/test.yaml | ./commander test -
205208
206209# Execute suite from url
207- $ ./commander test https://raw.githubusercontent.com/commander-cli/commander/master/integration/unix /commander_test.yaml
210+ $ ./commander test https://your-url /commander_test.yaml
208211
209212# Execute suites within a test directory
210213$ ./commander test --dir /tmp
Original file line number Diff line number Diff line change @@ -53,6 +53,15 @@ Tests are always executed in alphabetical order.
5353
5454Examples:
5555
56+ Directory test:
57+ commander test --dir /your/dir/
58+
59+ Stdin test:
60+ cat commander.yaml | commander test -
61+
62+ HTTP test:
63+ test https://your-url/commander_test.yaml
64+
5665Filtering tests:
5766test commander.yaml --filter="my test"
5867
You can’t perform that action at this time.
0 commit comments