~/talk

The Unspeakable Horror of Discovering You Didn't Write Tests

Talkat DjangoCon US 2019 · 2019-09-22..09-27· [testing]
slides:none on file

A confession: the project has 28% coverage and no tests at all until someone adds pytest, pytest-django, pytest-cov and selenium (with geckodriver setup noted as fiddly). The team writes functional browser tests that assert page titles and login flows and unit tests that call a divide_users function which, given 10 users, returns three groups 3 3 4. Coverage climbs, regressions stop surprising deploys, and the concrete payoff is mental freedom plus a safety net for future changes.

AI-written summary · about

  1. 0:00Start
  2. 6:14Pi Tests Django
  3. 6:40Pi Test Curve
  4. 9:13Functional Tests
  5. 9:33Functional Test
  6. 11:51Pi Tests
  7. 16:14Unit 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.