Trompeloeil is an open source mocking framework for C++, aimed at ease of use without sacrificing expressive power. In arts, trompeloeil is intended to mock your mind, making you believe you see something that isn’t what it appears to be. In unit tests, we use use mocks to fool the unit under test, so that we can break dependencies and test small pieces in isolation. Trompeloeil requires a reasonably C++14 compliant compiler (gcc-4.9 and clang-3.5 are known to work.) It is a single header file only, so there is no need to worry about compiler-flag compatibility issues between the test code and the framework.
Video Producer: http://www.meetup.com/swedencpp