Skip to content

Releases: martinmoene/lest

1.16.0

10 Sep 20:54
Compare
Choose a tag to compare

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

05 Sep 21:11
Compare
Choose a tag to compare

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

02 Sep 19:14
Compare
Choose a tag to compare

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

31 Aug 20:18
Compare
Choose a tag to compare

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

31 Aug 16:14
Compare
Choose a tag to compare

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

28 Aug 20:56
Compare
Choose a tag to compare

Fixed missing inline, improved note about compilation with Visual C++.

1.10.0

27 Aug 19:46
Compare
Choose a tag to compare

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

25 Aug 12:20
Compare
Choose a tag to compare

Made several small corrections and improvements to code and description.

1.9.0

24 Aug 19:29
Compare
Choose a tag to compare

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

01 Apr 11:18
Compare
Choose a tag to compare

Move examples and tests into their own folders.