~/talk

Back to Basics: Test-driven Development

Talkat CppCon 2019 · 2019-09-15..09-20· [testing, c-and-cpp]
links:none on file
slides:none on file

Covers practical TDD for C++ with concrete tools and outcomes: builds a simple Sudoku solver and small insertion sort to demonstrate unit tests with Google Test, finds an out‑of‑bounds bug that only appears under debug STL and is reliably caught by AddressSanitizer and ThreadSanitizer, and compares dependency injection strategies (constructor, setter, templates, runtime polymorphism) plus test doubles (stubs, fakes, mocks). Emphasizes designing for testability, sanitizers as pragmatic alternative to invasive DI, and avoiding flaky long tests.

AI-written summary · about

  1. 0:00Introduction to TDD
  2. 13:24TDD development cycle explained
  3. 23:03Refactoring and test sensitivity
  4. 30:19Test doubles and mocks
  5. 49:36Testing concurrent programs
  6. 54:11Sanitizers and testing
  7. 1:00:12Q&A and practical advice
~/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.