Structure and Interpretation of Test Cases

Kevlin Henney

60 minute presentation
intermediate
beginner
12:30-13:30, Friday, 2nd July 2021

Throw a line of code into many codebases and it’s sure to hit one or more testing frameworks. There’s no shortage of frameworks for testing, each with their particular spin and set of conventions and, but that glut is not always matched by a clear vision of how to structure and use tests — a framework is a vehicle, but you still need to know how to drive.

Compared to many languages, C++ has had slower widespread adoption of unit testing. This talk takes a deep dive into the practices and issues, looking at examples and counterexamples in C++.

Kevlin Henney

Kevlin is an independent consultant, speaker, writer and trainer. His development interests are in programming, people and practice. He has been a columnist for a number of magazines and sites, including The Register, CUJ and C++ Report, a contributor to open source software and a member of more committees than is probably healthy (it has been said that "a committee is a cul-de-sac down which ideas are lured and then quietly strangled").

He is co-author of two volumes in the Pattern-Oriented Software Architecture series, and editor and contributor for multiple books in the 97 Things series. He lives in Bristol and online.