~/talk

Sensible Testing

Talkat GoRuCo 2012 · on Saturday, 2012-06-23· [testing, ruby]
links:none on file
slides:none on file

Argues for testing shaped by concrete practices not coverage quotas, recommending consistent distance, a test pyramid with more fast unit tests, and idempotent, distinct specs. Critiques VCR for hiding service behavior and shows building a fake service (Shamrock) as an alternative, using dependency injection and a lightweight Rack thread. Mentions using rspec’s random ordering to find order-dependent failures, cites DHH’s 1:2–1:3 code:test ratio warning, and a real case where one bug breaks 124 tests.

AI-written summary · about

  1. 0:00The state of testing
  2. 2:23Coverage and its limits
  3. 5:52Introducing the CUPID acronym
  4. 9:30Core principles of testing
  5. 17:30Practical code improvements
  6. 26:41Common testing pitfalls
  7. 33:52Reflective testing culture
~/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.