~/talk

How to Stop Hating Your Test Suite

Talkat Ruby on Ales 2016 · 2016-03-31..04-01· [testing, ruby]
slides:none on file

Argues that consistency fixes most test pain and offers a ready-to-fork Test Style Guide with concrete rules: limit objects to one public method and at most three dependencies, split suites into an isolated unit suite and an integrated end-to-end suite, and prefer given when then style for clearer failures. Demonstrates a 4‑boolean example → 2^4 = 16 permutations, describes a directory-migration trick to start fresh, and notes a JS test double library and feedback budgets (480 minutes per day baseline).

AI-written summary · about

  1. 0:00Start
  2. 12:09take advantage of the expressiveness of our spec
  3. 12:36try to minimize each phase to just one line per action
  4. 22:54create separate test suites
  5. 30:01detect redundant coverage
  6. 30:36identify a clear set of layers to test
  7. 32:49use the test as a sounding board
  8. 42:33use fixtures for integration 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.