~/talk

How to Stop Hating your Test Suite

Talkat RubyConf 2015 · 2015-11-15..11-17· [testing]
slides:none on file

Promises a ready‑to‑fork Test Style Guide and then shows specific, actionable rules: break big objects (example four booleans => 2^4 = 16 test cases), prefer one public method and three dependencies per new object, split suites into one maximally realistic and one maximally isolated, and prefer given when then style (rspec‑given/MiniTest examples). Measures feedback in seconds (ties test duration to daily “thoughts”), warns of superlinear build slowdown, and recommends capping build time and eliminating redundant coverage.

AI-written summary · about

  1. 0:00Introduction and philosophy
  2. 5:14Test structure
  3. 8:42Test readability
  4. 13:53Testing APIs and conventions
  5. 18:14Test isolation
  6. 25:47Careful mocking
  7. 29:57Feedback loops and performance
  8. 39:58False negatives and conclusion
~/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.