Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Trompeloeil, a Mocking Framework for Modern C++

ACCU Conference via YouTube

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

Reviews

Start your review of Using Trompeloeil, a Mocking Framework for Modern C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.