Continuous Regression Testing for Safer and Faster Refactoring in C++
Talkat CppCon 2023 · on Monday, 2023-10-02· at 15:15· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard·
summary
Claims a practical, end-to-end regression system: a C++ SDK plus CLI, GitHub Actions plugin and server that serializes captures with flatbuffers, stores results (Redis/Mongo/MinIO or cloud equivalents), compares them, and surfaces diffs on a web dashboard and via Slack/email. It captures values and runtimes from code (including production-noop captures), supports GCC/Clang/MSVC and C++11+, plugs into Bazel and Google Benchmark, tracks build time, binary size and exported symbols, and is now a free open-source tool that helped 10+ companies find 1,000+ unintended regressions while capturing variables and runtimes for precise comparison.
AI-written summary · about
chapters (17)
- 0:00Introduction to refactoring
- 0:30Engineering for safety
- 3:50About the speaker and context
- 10:32Regression testing challenges
- 14:48Introducing Tuka
- 17:36Writing tests with Tuka
- 20:08CI integration and dashboards
- 21:28Handling performance regressions
- 23:38Tuka architecture and SDK
- 26:57Advanced data capturing
- 30:05Data submission and retention
- 34:15Regression testing use cases
- 38:36Testing culture and philosophy
- 43:52Best practices for writing tests
- 46:13Safety at Aurora
- 49:43Conclusion
- 50:23Q&A session
related talks
01h 01mBack to Basics: Debugging and Testing in C++ Software Development
05mLightning Talk: Zero Cost Regressions
33mUnifying and improving test regression reporting and tracking
20mVisual testing with Visual Regression Tracker
35mQuickly and Safely Refactoring Legacy Code
45mImproved Regression Testing in Agile
23mStop Performance Regressions Before Release Valkey’s CI Benchmarking
01h 07mPragmatic Unit Testing in C++
