lest
lest copied to clipboard
A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant)
See [*gsl-lite* PR 308](https://github.com/gsl-lite/gsl-lite/pull/308#issuecomment-863877069). Items: - Suppression of `"::__lest_registrar__ddd" was declared but never referenced` (inspired to open this issue). - *Compilation* (not executing) with exceptions unavailable (see [comment](https://github.com/gsl-lite/gsl-lite/pull/308#issuecomment-863889065)). Commits of...
Detlef Vollmann brings up the following: I'm using lest for test cases for the exercises of a C++ course. My problem is that sometimes I EXPECT some invariant of an...
See e.g. [CMakeLists.txt of span-lite](https://github.com/martinmoene/span-lite/blob/master/test/CMakeLists.txt).
See [Catch PR 1405](https://github.com/catchorg/Catch2/pull/1405)
See - Catch PR 1362 - [fixed-point.t.cpp](https://github.com/martinmoene/kalman-estimator/blob/master/test/fixed-point.t.cpp)
Add `#include ` for `std::boolalpha`. - [x] lest.hpp: not needed: `` is included by `` since C++11. - [ ] lest_cpp03.hpp
Study [**stf**](https://github.com/jfalcou/stf) by @jfalcou and let lest benefit from it. Ideas: - [ ] Use auto test case registration only. - [ ] Use default suite, but still allow for...
see [restc-cpp/include/restc-cpp/test_helper.h](https://github.com/jgaa/restc-cpp/blob/master/include/restc-cpp/test_helper.h). - [ ] [Catch](https://github.com/philsquared/Catch): [test cases](https://github.com/philsquared/Catch/blob/master/docs/test-cases-and-sections.md#top), [assertions](https://github.com/philsquared/Catch/blob/master/docs/assertions.md#top) - [ ] [Boost.Test](http://www.boost.org/doc/libs/1_65_1/libs/test/doc/html/index.html) - [ ] [Google Test](https://github.com/google/googletest) - [ ] [UnitTest++](https://github.com/unittest-cpp/unittest-cpp/wiki/Macro-and-Parameter-Referencep)
Hi, I tried running `clang-format` on the test case example at the main page. Unfortunately the result wasn't so nice (see below). I tried a few different settings for `clang-format`,...
[janwilmans/LibIdentify](https://github.com/janwilmans/LibIdentify) - Standard method to identify a project's executable, for now specifically aimed at test-frameworks. See also [Catch issue #931](https://github.com/philsquared/Catch/issues/931).