1.32.0
This release contains the following changes.
Additions The missing macro lest_SCENARIO()
for BDD scenarios with auto-registration has been added, as well as an example that uses it (issue #53). There's also an example that emulates Catch' syntax as far as easily feasible.
Changes lest now handles comparisons that yield a user-defined type that converts to bool (issue #57). The Travis and AppVeyor CI configurations have been expanded to build more variations. lest for C++98 is now also compiled as C++11 and the CMake configuration can handle the case where only C++98 is available. The CMake configuration now includes targets test
and install
(issue #51, thanks to @arteniioleg) and it provides the new option LEST_EXTRA_WARNINGS
.
Usage: test [options] [test-spec ...]
Options:
-h, --help
, this help message-a, --abort
, abort at first failure-c, --count
, count selected tests-g, --list-tags
, list tags of selected tests-l, --list-tests
, list selected tests-p, --pass
, also report passing tests-t, --time
, list duration of selected tests--order=declared
, use source code test order (default)--order=lexical
, use lexical sort test order--order=random
, use random test order--random-seed=n
, use n for random generator seed--random-seed=time
, use time for random generator seed--repeat=n
, repeat selected tests n times (-1: indefinite)--version
, report lest version and compiler used--
, end options
Test specification:
"*"
: all tests, unless excluded- empty: all tests, unless tagged [hide] or [.optional-name]
"text"
: select tests that contain text (case insensitive)."!text"
: omit tests that contain text (case insensitive).