Overview
Explore the powerful Trompeloeil mocking framework for modern C++ in this comprehensive conference talk from ACCU 2017. Dive into unit testing techniques by learning how to break dependencies and replace collaborators with mock objects. Follow along with a step-by-step development of an example program using Test-Driven Development (TDD), starting from basic usage and progressing to advanced topics. Discover essential testing patterns, techniques for controlling sequential ordering relations, and methods for representing data in violation messages. Master the art of managing mock object lifetimes, writing custom matchers, and disambiguating overloads. Gain valuable insights into this open-source C++14 mocking framework that combines ease of use with expressive power, enhancing your unit testing capabilities in modern C++ development.
Syllabus
Using Trompeloeil, a mocking framework for modern C++ - Bjorn Fahller [ACCU 2017]
Taught by
ACCU Conference