loading...

re: What do you use for testing c/c++ apps? VIEW POST

FULL DISCUSSION
 

Gtest is the optimal test framework for c\c++, it has everything you need and for free.
For mocking I use Isolator++, it is not cheap but very powerful and unique:\
It can mock almost any type of behavior in any kind of code.

I find accessing private modules in your code and faking static methods super important and that makes my life so much easier.
TBH i haven't found any other tool that is as much powerful as that one, all mocking frameworks these days demand refactoring of your code and that always causes tons of new errors.

Good Luck!

 

Thank you! I also found Google Mock. Do you have any experience (good or bad) about GMock?

Code of Conduct Report abuse