~/talk

Delicious Controversy: Docs & Tests

Talkat RailsConf 2013 · 2013-04-29..05-02· [testing, developer-experience]
links:none on file
slides:none on file

Claims that pragmatism beats dogma: a codebase of 27,000 lines accumulates 16,000 lines of specs and huge maintenance cost; unit tests that mock internals create brittle coverage while well-scoped integration tests exercise the full stack and catch real breakage; use YARDlike docs to document public methods, move logic into services and presenters, use VCR for external calls, and reserve Capybara for a few critical user-flows so tests stay fast, readable, and actually prevent bugs.

AI-written summary · about

  1. 0:00Start
  2. 1:01DELICIOUS CONTROVERSY DOCS & TESTS
  3. 1:50LESSONS LEARNED
  4. 2:09CHAMPION PRACTICALITY
  5. 3:59SELF DOCUMENTING CODE IS A PIPE DREAM
  6. 5:56TESTS ARE TERRIBLE DOCUMENTATION
  7. 12:03UNIT TESTS ARE BAD TESTS • Too many lines of test code perline covered
  8. 14:12TDD CREATES BAD TESTS
  9. 16:40INTEGRATION TESTS TEST THE FULL STACK', CHECK THE RESULT
  10. 29:56SKINNY SKELETAL CONTROLLERS
~/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.