Mocking for Catch - C ++ Testing

Could you offer me a mocking system for using Catch to test C ++? I would really like one that DOES NOT require me to define any new classes (for example, I saw what Google Mock does) :), something like Mockito for Java. So far I have tested Mockitopp and Fakeit. The problem with Fakeit is that it does not support multiple inheritance, while Mockitopp seems to have less features than Fakeit (and I don't know if it supports multiple inheritance or not). What's nice about Fakeit is that it actually looks like integration with Catch and many other testing platforms.

Thanks.

+6
source share

Source: https://habr.com/ru/post/1016837/


All Articles