Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add section on --except

...

will run all tests in abc.sh ignoring the --start-at and --stop-at flags.

Using the tests individually do not control starting or stopping of executing tests and should not be used individually. The following do notchange what tests are run and should NOT be used

Code Block
./auster abc --start-at 3
./auster abc --stop-at 6

Exclude Individual Tests with auster

If you do not want to run a test or a small number of tests, auster provides the --except flag to exclude tests from being run.

Code Block
 ./auster -k -v abc --except 3

will run all tests in abc.sh except for test 3. 

If a test has subtests, the --except flag can be used to skip all subtests just by specifying the test number.

Code Block
./auster -k -v abc --except 1

will run all tests in test suite abc.sh except for test 1 and will not run all subtests of 1. Thus, 1a, 1b, 1c, 1d, and 1e will not be run, but all other tests will executed. Also, tests listed on the ALWAYS_EXCEPT list are also skipped.

Skipping individual subtests is also supported.

Code Block
./auster -k -v abc --except 1b

will run all tests in test suite abc.sh except for test 1b. Thus, 1a, 1c, 1d, and 1e will be run along with all other tests  greater than 1 in abc.sh.

Code Block
 ./auster -k -v abc --except 1,2,3,4,5,6,7

will skip tests 1 through 7 and all sub tests.

Exclude Ranges of Tests with auster

Specifying a range of tests to exclude does not work and no tests will be executed. The following does NOT work


Code Block
./auster -k -v abc --except 1-7
./auster -k -v abc --except “1-7”