This document provides tips and techniques for testing C++ code, including:
- Use a test framework and get to know it well
- Prioritize testable code over perfect code
- Be creative in testing legacy code, such as using golden master tests or approval tests
- Maintain tests by filtering slow tests from continuous integration and fixing flickering tests