~/lightning

TDD/BDD and DI

Lightningat Meeting C++ 2016 · 2016-11-18..11-19· [testing]
links:none on file
slides:none on file

Claims an automatic mock injector that creates mocks for unbound interfaces at injection time, demonstrated with fake it and boost di. Shows TDD example (coffee brew then verify) and a BDD-style game scenario; wiring boilerplate disappears, constructor refactors require no test changes, and mocks are injected automatically. Code is built and runs in the demos; the concrete gain is fewer manual fakes, less setup, and resilience to signature changes without extra test maintenance.

AI-written summary · about

  1. 0:00Introduction
  2. 0:11What is testing
  3. 1:04BDD
  4. 1:31Mocking
  5. 2:07DI
  6. 2:33Automock injector
  7. 3:12MMmock
  8. 3:28Hello World
  9. 4:13Provider
  10. 4:53Test
  11. 5:28Naming
  12. 6:17Summary
~/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.