A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant)
This release:
windows.h
(lowercase) to fix cross-compiled MinGW builds (#75, thanks @salman-javed-nz)*_CPP20_OR_GREATER
to 202002L
(nonstd-lite-project issue 60); Now, designate C++23 as speculative.This release:
lest_CPLUSPLUS
(nonstd-lite-project issue 7);
in lest_cpp03.hpp
.This release :
-z,--pass-zen
that omits printing of the expanded expression for passing tests.Thanks to @ninnghazad drawing attention to both.
This bug-fix release removes typename
from the seed_t
declaration that is invalid in C++98.
In C++98, typename
may not be used with a non-dependent type name. In C++11 this restriction has been lifted. Now, in lest_cpp03 the C++11 implementation is chosen for VC 12 (VS 2013) as this compiler supports enough of C++11 for lest, however it does not with respect to typename
.
This bug-fix release fixes the type seed_t
to it's use with std::mt19937
or with std::srand()
.
This bug-fix release fixes reporting of sections, issue #65. Thanks to @onthetop.
This bug-fix release suppresses the warning message unused parameter ‘lest_env’ [-Werror=unused-parameter]
with lest_cpp03.hpp
. Further the style of #if defined
has been changed to use parentheses. For the rest, lest.hpp
is unchanged.
This bug-fix release fixes a link error for character reporting for VC8 (Visual Studio 2005) in lest_cpp03.hpp
. Apart from the version number, lest.hpp
is unchanged.