~/talk

Structure and Interpretation of Test Cases

Talkat C++ on Sea 2021 · 2021-06-30..07-02· [testing, c-and-cpp]
slides:none on file

Argues that good tests are readable specifications not build ornaments, defines a unit test as behavior whose pass/fail is solely determined by test and unit, and separates unit vs integration concerns; demonstrates naming and structure with a leap year example (equivalence classes, edge cases, proleptic Gregorian rules), uses stacks and queues to show state-based given-when-then specs, warns about brittle over‑coupling and Goodharted metrics while recommending Google Test and 100% statement coverage as a starting feedback.

AI-written summary · about

  1. 0:00Start
  2. 1:46Structure and Interpretation of Computer Programs
  3. 6:13Who Should You Be Writing the Test Book for
  4. 9:04Unit Testing with Test Driven Development
  5. 9:14Unit Testing
  6. 10:53Basic Minimum
  7. 13:29Classic Three-Way Comparison
  8. 14:29Unit Test
  9. 17:52Scheduler
  10. 20:40Coverage
  11. 22:34Path Coverage
  12. 34:36Meaningful Categories
  13. 35:38Propositional Naming Style
  14. 40:11Simple Cases
  15. 45:33Abstract Data Types
  16. 47:04Internal State Modeling
  17. 47:55Test Constructor
  18. 51:30The Strength of a Test
  19. 56:21State Model
  20. 1:05:05Interaction Testing
  21. 1:05:51Recommendations
~/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.