~/talk

Test Driven C++

Talkat CppCon 2020 · 2020-09-14..09-18· at 13:30· Fuzzing/Testing, online· [testing]
slides:none on file

Sixty minutes show how Test Driven Development in C++ actually works: using Catch/Catch2 and CLion the demo implements a Snakes-and-Ladders board, exercises the red green refactor loop, treats the compiler as a failing test, and evolves a Board API (landOn returns an action enum registered with Catch) from failing build to green tests to refactor. The claim is that write the test first forces simpler designs and the demo finishes working code that passes the tests.

AI-written summary · about

  1. 0:00Start
  2. 1:29What is TDD?
  3. 3:07Test Driven
  4. 21:58snakes & ladders
  5. 52:13Demo...
~/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.