Fake-It - a simple fake framework for C ++ uses the latest C ++ 11 features to create an expressive (but very simple) API. With FakeIt there is no need to re-declare methods or create a derived class for each layout, and it has built-in boost integration :: test. This is how you fake-it:
struct SomeInterface { virtual int foo(int) = 0; };
There are many opportunities to explore. Go ahead and try .
source share