Skip to content

1.15.0

Compare
Choose a tag to compare
@martinmoene martinmoene released this 05 Sep 21:11
· 464 commits to master since this release

Added command line options to abort the test run and to also report passing tests (assertions). Fixed test selection from the command line. Started to use the TEST() macro to define the test heading (TEST("title")replaces "title", []).

Usage: test [options] [test-spec ...]

Options:

  • -h, --help, this help message
  • -a, --abort, abort at first failure
  • -c, --count, count selected tests
  • -l, --list, list selected tests
  • -p, --pass, also report passing tests
  • --, end options

Test specification:

  • "*": all tests, unless excluded
  • empty: all tests, unless tagged [.] or [hide]
  • "text": select tests that contain text (case insensitive).
  • "!text": omit tests that contain text (case insensitive).