trompeloeil
trompeloeil copied to clipboard
Header only C++14 mocking framework
Hi, since 45ef304414dab7705b99fd7e03f04b837e04e25b, the behavior of this program has changed: ```cpp #include struct MockObject { TROMPELOEIL_MAKE_CONST_MOCK1(foo, void(int)); }; int main(void) { MockObject obj; trompeloeil::sequence seq; REQUIRE_CALL(obj, foo(0)).IN_SEQUENCE(seq).TIMES(1, 666); REQUIRE_CALL(obj, foo(0)).IN_SEQUENCE(seq);...
Catch2 v3 is no longer distributed as a single header. If you do this: ``` #include #include ``` Then the `CATCH_VERSION_MAJOR` will not be set, used here: https://github.com/rollbear/trompeloeil/blob/6b2742870a4b08e87cf104e2e9e7904c3818275d/include/catch2/trompeloeil.hpp#L19 since that's...
So I have an embedded project for which I've added some unit tests using catch2 and trompeloeil (v32) and this has worked fine for a long time. https://github.com/DISTORTEC/distortos Today I...
So this is weird, but in ``` #include #include #include #if 1 namespace trompeloeil { template struct printer { static void print(std::ostream& os, const T& t) noexcept { os
This uses setup-cpp to install the C++ tools https://github.com/aminya/setup-cpp/ https://github.com/aminya/trompeloeil/actions/runs/1551038387 
Addressing a bunch of clang-tidy complaints without being too intrusive. More remains to be done.
The state of things right now is that (line) coverage is collected with kcov for Linux builds only, and is forwarded to codecov.io. There are several problems here, however. *...
Github actions is removing support for the windows-2016 environment, which is used to test build with older MSVC compilers. I would like to support even older compilers than that, if...
Add to `CMakeLists.txt` the capability for `g++` compilers to use `libc++` as the standard library in a build configuration. Provide one configuration that exercises this build configuration. Suggestion: `g++-9 -std=c++17...