Using Trompeloeil - A Mocking Framework for Modern C++
Offered By: NDC Conferences via YouTube
Course Description
Overview
Explore the powerful Trompeloeil mocking framework for modern C++ in this comprehensive 53-minute conference talk. Dive into unit testing techniques, breaking dependencies, and creating mock objects with ease. Follow along as the speaker demonstrates step-by-step development using Test-Driven Development (TDD), covering basic usage to advanced topics. Learn about testing patterns, sequential ordering relations, data representation in violation messages, mock object lifetime management, matcher writing, and overload disambiguation. Gain insights into practical examples, macros, error messages, and various testing scenarios while discovering how to improve code quality and maintainability. Participate in the development process and enhance your C++ unit testing skills with this informative presentation from NDC Conferences.
Syllabus
Introduction
Examples
Macros
Unit Testing Adapter
Martin Fowler
How to mock
Google mock
Compilation error message
Writing just with boxes
Writing tests
Whiskey
Error messages
Random
InventoryRemove
Sequence Object
Call to remove
Extend
Generic strings
Concrete types
Record types
Order objects
Test add returns
Create an order object
Catch assertion
Order class template
Destructor
Multiple Asset
Local
Hex Dump
Print
Unexpected
Embarrassing
Mobstore
Stock
Expectations
Member variables
Out of stock
lambda expression
call
call to reserve
test fixture
make presentations better
order multiple whiskeys
readability
notification
notify
lambda
compile
local deviations
completeness
error message
bug fixed
cheat sheet
outro
Taught by
NDC Conferences
Related Courses
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera