Papers & Presentations

Atoms frequently share what they know in journals, at conferences, and in classrooms.

An Automated Mock Object Generator for C++

Presented by
Presented at
An Automated Mock Object Generator for C++
at
Great Lakes Software Excellence Conference
|
October 1, 2007
Additional Presentations:
Written in
Great Lakes Software Excellence Conference
|
October 2007

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.