trompeloeil
Trompeloeil is a modern, open-source mocking framework for C++ used to facilitate unit testing by simulating dependencies and verifying interactions with them. It is designed to help tests focus on behavior by ensuring that the code under test communicates with its collaborators in the expected way.
Implemented as a header-only library, trompeloeil is designed to be easy to drop into existing projects and
The framework provides a domain-specific language based on C++ templates and operator overloading to declare expectations
Mock targets typically include interfaces or classes with virtual functions; trompeloeil provides mechanisms to declare mocks,
Additional features include argument matchers for flexible comparisons, support for sequencing and strict versus lenient expectations,
Development and licensing: trompeloeil is hosted on GitHub as an open-source project and is distributed under