~/talk

Test! (Some OF) Your! Code!: How To Write...

Talkat DevOpsDays Silicon Valley 2018 · 2018-05-17..05-18· [testing]
slides:none on file

Starts by claiming the easiest wins come from pure functions, finding inputs and asserting outputs as documentation rather than perfect design. Builds a tiny command-builder example, writes failing tests to drive fixes, uses pytest.raises to capture expected errors, and watches a test catch a real typo during the demo. Recommends adding a CI code-coverage tool and notes a practical milestone of 10% coverage as meaningfully better than zero.

AI-written summary · about

  1. 0:00Start
  2. 0:42What this talk is not about
  3. 1:21What this talk is about
  4. 2:08Why don't we test?
  5. 3:47Where to start
  6. 4:54Let's test!
  7. 13:17You just saw me
  8. 14:07What next?
~/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.