Releases: martinmoene/lest
1.16.0
This release adds option --time. Compile-time feature selection was added to omit option --time and to add literal suffixes 'u', 'l' and 'f'. Examples were added for approx to compare floating point numbers and to illustrate reporting a user-defined type. Further, expression decomposition has been improved.
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-t, --time
, list duration of selected 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).
1.15.0
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).
1.14.0
Added command line options to show help and to count and list selected tests.
Usage: test [options] [test-spec ...]
Options:
-h, --help
, this help message-c, --count
, count selected tests-l, --list
, list selected tests--
, end options
Test specification:
- empty or
"*"
: all tests, except excluded tests. "text"
: select tests that contain text (case insensitive)."!text"
: omit tests that contain text (case insensitive).
Tests that contain [hide]
or [.]
in their description are skipped, unless they are specifically selected.
1.13.0
Added selection of tests from the command line to lest_cpp03.hpp.
Usage: test [spec ...]
where spec can be:
- empty or "*": all tests, except excluded tests.
- "text": select tests that contain text (case sensitive).
- "!text": omit tests that contain text (case sensitive).
Omission of tests takes precedence over inclusion of tests.
1.12.0
Added the approx
floating point comparison facility to lest.hpp and lest_cpp03.hpp.
Thanks for this to @philsquared (Catch) and Richard Harris (thus spake a.k.).
Also added a section on compile time performance to the Readme.
1.10.1
Fixed missing inline, improved note about compilation with Visual C++.
1.10.0
Made lest variants compile with VC12 (Visual C++ 2013 Update 3).
Usage: test [spec ...]
where spec can be:
- empty or "*": all tests, except excluded tests.
- "text": select tests that contain text (case sensitive).
- "!text": omit tests that contain text (case sensitive).
Omission of tests takes precedence over inclusion of tests.
1.9.1
Made several small corrections and improvements to code and description.
1.9.0
Add selection of tests from the command line.
Usage: test [spec ...]
where spec can be:
- empty or "*": all tests, except excluded tests.
- "text": select tests that contain text (case sensitive).
- "!text": omit tests that contain text (case sensitive).
Omission of tests takes precedence over inclusion of tests.
1.8.0
Move examples and tests into their own folders.