~/talk

Equal Rights for Tests

Talkat ACCU 2022 · 2022-04-06..04-09· [testing, developer-experience]
slides:none on file

Argues that tests must be equal to code and gives concrete practices: instrument tests for coverage and measure cyclomatic complexity of test functions with the same tools used on production code. Cites cyber-dojo experience where instrumenting tests exposed dead helpers and removed dead test code in ~1/8 commits, and warns of the NightTrading $450M loss when undefined C++ behavior jumped into untested dead code. Shows pytest tricks: UUID test names plus a t.id fixture, and uses coverage, linters and mutation ideas.

AI-written summary · about

  1. 0:00Start
  2. 4:10Blood Sugar
  3. 7:02The Equilibrium Law
  4. 36:14Summary
  5. 42:06What Does a Function Do
  6. 49:29How Do We Name It a Function
  7. 49:58Is It a Global Function or a Member Function
  8. 55:53Side Effects
  9. 56:21Running Your Tests in a Random Order
  10. 1:07:08Not Using Long Test Names and Embedding It Somewhere Else Translate Equally Well into Other Languages beyond Python
  11. 1:24:34Static and Dynamic Analyzers
~/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.