~/talk

“Save $$ Testing Code the Playback-Based Way”

Talkat CppCon 2018 · 2018-09-23..09-28· [testing, developer-experience]
links:none on file
slides:none on file

Advocates recording every API call, arguments and return values into JSON artifacts and replaying them against the library to catch breaking changes; a header-only C++ CppPlayer prototype (≈1,200 lines) supports both recording and playback, does pointer swizzling and compares function returns, and is used to tame a flaky HFDM cloud-storage integration. Proven at scale in CAD: Revit journaling produced ~15,000–19,000 automated tests. Costs include added instrumentation/boilerplate and an API-layer wrapper; it works but requires careful handling of threads and test curation. Playback-Based Testing recordings

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Playback-based testing for C++
  3. 3:40Library scaling dilemma
  4. 5:10Qualifying library integration
  5. 7:44Refactoring for playback testing
  6. 12:41Case study: Revit Journaling
  7. 15:58Introducing CppPlayer
  8. 17:44Growing your own tool
  9. 23:37Implementation details
  10. 28:25Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.