Explore testing strategies for complex C++ domain-specific functions through a conference talk from CppCon 2024 that uses motion planning in self-driving vehicles as a case study. Learn how to overcome the challenges of writing meaningful tests for complicated real-world inputs by developing full-fledged testing support libraries. Discover techniques for building foundational domain-specific APIs for paths, poses, and speed profiles, while creating high-level scene descriptions that remain stable as implementation details evolve. Examine how C++'s features like variadic templates and smart tag types enable powerful yet user-friendly testing interfaces, making it easier to verify responses to malformed, delayed, or absent messages. Gain insights from Aurora Innovation's Staff Software Engineer Chip Hogg on implementing scalable testing solutions that can be adapted across various domains, drawing from his experience in developing testing libraries for autonomous vehicle motion planning systems.
Overview
Syllabus
Making Hard C++ Tests Easy: A Case Study From the Motion Planning Domain - Chip Hogg - CppCon 2024
Taught by
CppCon