eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.22k stars 170 forks source link

Support catch2 v3 #257

Closed voidbar closed 2 years ago

voidbar commented 2 years ago

Catch2 testing framework has been working for some time now on a new, major version (v3.0.1) which breaks the current fakeit build for catch2.

On the most basic level, the catch2 header files names had been changed. Trying to compile fakeit+catch2 v3 will output:

[build] unittests_poc\tests_catch\fakeit.hpp(1137,13): fatal error C1083: Cannot open include file: 'catch.hpp': No such file or directory [unittests_poc\build\tests_catch\testlib.vcxproj]
[build] Build finished with exit code 1
FranckRJ commented 2 years ago

Fixed by #263.