From cf2ee329779c6de8303ae9b4cf15ded8dfdf3221 Mon Sep 17 00:00:00 2001 From: Martin Moene Date: Fri, 26 Dec 2014 14:41:21 +0100 Subject: [PATCH] v1.20.0 Update version number, Readme and Changes --- CHANGES.txt | 7 +++++++ README.md | 7 +++++++ lest.hpp | 2 +- lest_cpp03.hpp | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index ed757eb..c4ac3ae 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,13 @@ Changes for lest – lest errors escape testing +version 1.20.0 2014-12-26 + +- Add lest_MODULE(). +- Add example with tests across multiple files for lest.hpp using lest_MODULE(). +- Add example with tests across multiple files for lest_cpp03.hpp. + + version 1.19.2 2014-12-26 - Fix missing inline. diff --git a/README.md b/README.md index 0c172da..9248d81 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ Synopsis - [Fixture macros](#fixture-macros) - [Assertion macros](#assertion-macros) - [BDD style macros](#bdd-style-macros) +- [Module registration macro](#module-registration-macro) - [Other macros](#other-macros) - [Namespace](#namespace) - [Tests](#tests) @@ -205,6 +206,11 @@ Note that EXPECT(), EXPECT\_NOT(), EXPECT\_NO\_THROW(), EXPECT\_THROWS() and EXP These macros simply map to macros CASE(), SETUP() and SECTION(). +### Module registration macro +**MODULE(** _all-specifications_, _module-specifications_ **)** +Register this module's test specifications with the overall specification – [Code example](examples/11-module-1.cpp). +Note that _lest_cpp03_ doesn't need the MODULE() macro, see the [cpp03 module example](examples/12-module-cpp03-1.cpp). + ### Other macros -Dlest_NO_SHORT_ASSERTION_NAMES Define this to omit the shortened alias macros for the lest_EXPECT... macros. @@ -328,6 +334,7 @@ Report passing tests | + | + | - | - | Time duration of tests | + | + | - | - | Control order of tests | + | + | - | - | Repeat tests | + | + | - | - | +Modules of tests | + | + | - | - |   |   |  |  |  | Suites of tests | - | - | - | - | Parameterised tests | - | - | - | - | diff --git a/lest.hpp b/lest.hpp index d77ecc4..490513b 100644 --- a/lest.hpp +++ b/lest.hpp @@ -38,7 +38,7 @@ # pragma GCC diagnostic ignored "-Wunused-value" #endif -#define lest_VERSION "1.19.2" +#define lest_VERSION "1.20.0" #ifndef lest_FEATURE_COLOURISE # define lest_FEATURE_COLOURISE 0 diff --git a/lest_cpp03.hpp b/lest_cpp03.hpp index 8088cbe..5adceed 100644 --- a/lest_cpp03.hpp +++ b/lest_cpp03.hpp @@ -33,7 +33,7 @@ # pragma GCC diagnostic ignored "-Wunused-value" #endif -#define lest_VERSION "1.19.2" +#define lest_VERSION "1.20.0" #ifndef lest_FEATURE_COLOURISE # define lest_FEATURE_COLOURISE 0