~/talk

Programming with GUTs

Talkat Meeting C++ 2021 · 2021-11-10..11-12· [testing]
slides:none on file

Material claims C++ teams can have GUTs that survive refactor and undefined behaviour by focusing on precise claims not vague topics. It implements a toy sorter (the “I can’t believe it can sort” double-loop) and verifies it with GoogleTest and Catch2, stressing the permutation property over naïve sortedness and using seeded randoms for reproducibility. It defines ADT tests for a bounded queue with callback hooks, uses given-when-then style nesting, discusses coverage limits and mutation testing, and shows the examples actually run and reveal real issues.

AI-written summary · about

  1. 0:00Introduction to GUTS
  2. 1:22Purpose of unit testing
  3. 2:17Testing workflows
  4. 4:20Unit testing vs TDD
  5. 5:57Continuous testing
  6. 7:11TDD methodologies
  7. 8:29Defining good tests
  8. 10:48C++ algorithms
  9. 12:33A simple sorting algorithm
  10. 15:29Writing tests for people
  11. 17:06Naming test cases
  12. 19:03Random data testing
  13. 21:13Property testing
  14. 23:26Oracle testing
  15. 25:20Test-driven specification
  16. 27:30Common testing errors
  17. 29:46Arrange Act Assert
  18. 31:56Undefined behavior
  19. 33:39Test coverage metrics
  20. 35:53Types of coverage
  21. 37:47Cultural aspects of testing
  22. 39:34Historical testing styles
  23. 41:43Venn diagram of test cases
  24. 43:16Testing for communication
  25. 45:46Feedback from test failures
  26. 47:33Mutation testing
  27. 49:26Abstract Data Types
  28. 51:47Queue implementation
  29. 53:36Testing frameworks
  30. 55:07State-based testing
  31. 57:18Given-When-Then
  32. 58:52Mock objects
  33. 59:33Slowing down to speed up
  34. 1:01:01Q&A: Testing frameworks
  35. 1:02:06Q&A: Concurrent testing
  36. 1:03:06Q&A: Test structure
  37. 1:05:59Closing remarks
~/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.