~/talk

Pragmatic unit testing

Talkat DotNext 2018 Moscow · 2018-11-22..11-23· [testing]
links:none on file
slides:none on file

Argues that unit tests succeed when they maximize four measurable qualities — protection against regressions, resistance to refactoring, fast feedback and low maintenance — and defines test value as the product of those four components. Recommends output‑based (functional) tests where possible, state‑based otherwise, and restricts mocks to inter‑application boundaries because mocks are almost never a good idea for internal collaborations; shows examples of brittle tests and how to refactor them.

AI-written summary · about

  1. 0:00Start
  2. 1:33About Myself
  3. 1:54What's the Goal of Unit Testing
  4. 2:46Important Benefit of Having a Unit Test Suite
  5. 6:53Coverage Metrics
  6. 8:28The Pragmatic Approach to Doing Testing
  7. 9:05Protection against Regressions
  8. 11:36Resistance to Refactoring
  9. 12:22False Positive
  10. 13:51What Causes False Positive
  11. 17:20Maintainability
  12. 18:42End-to-End Tests
  13. 21:38Brittle Tests
  14. 25:01Test Pyramid
  15. 26:02Types of Unit Testing
  16. 26:15Types of Unit Testing
  17. 27:27State Based Testing
  18. 28:08Collaboration Based Testing
  19. 29:49Output Based Testing
  20. 34:05Observable Behavior
  21. 34:38Observable Behavior of the Application Services Layer
  22. 36:20Maintaining Backward Compatibility
  23. 38:16Examples
  24. 40:47Three Types of Unit Testing
  25. 42:24General Guideline
  26. 43:36Sample Project
  27. 45:03Main View Model
  28. 48:50Overall Architecture
  29. 51:16Components of Available Tests
~/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.