~/talk

A Unit Test Would Have Caught This...

Talkat SREcon17 Asia/Australia · 2017-05-22..05-24· [testing, developer-experience]
links:none on file
slides:none on file

Argues that small, cheap tests give big quality gains and shows concrete tools and practices: use shellcheck and runtime flags (-u -e) for Bash, choose shunit2 or bat if unit tests are needed, run Python linters and unit tests (caught many bugs during a Python 3 migration), mock external calls instead of deleting real files, and run Chef through RuboCop/foodcritic plus Facebook’s taste-tester on at least one host. Reports ramp time to on‑call dropping from six months to three months.

AI-written summary · about

  1. 0:00Introduction to testing
  2. 1:17Common testing barriers
  3. 5:41Testing shell scripts
  4. 9:13Testing with Python
  5. 14:26Mocks and dependencies
  6. 17:00Testing configuration
  7. 21:34Cultural benefits and next steps
~/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.