An Automated Mock Object Generator for C++
Interaction-based unit testing using mock objects is becoming very popular. Libraries to generate mock objects exist for many platforms and languages, but C++ seems to be a notable exception. This talk presents a library that generates mock objects directly from the definition of an interface in C++ code. Using these generated mock objects, a C++ developer can set expectations and verify the interaction of classes and objects in a manner very similar to more modern languages.