~/talk

The Art of Testing

Talkat dotGo 2017 · on Monday, 2017-11-06· [testing]
name:Mat Ryer
github:matryer
slides:none on file

Testing aims to improve maintainability and enable bold refactors, not to maximize coverage. The talk argues for practical tools and concrete patterns: creates test server with teardown closure that centralizes lifecycle and cleanup, uses httptest and lightweight is assert package for clear failures, generates mocks via simple codegen with function-field callbacks, prefers interface-level tests, warns against over-mocking and chasing 100% coverage, and stresses fast failures so feedback is immediate.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40Why write tests
  3. 5:34Test code
  4. 9:48Code coverage
  5. 10:24Testing
  6. 15:19Comment 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.