~/talk

Breaking down large tests with a Saff Squeeze

Talkat Craft Conference 2023 · 2023-05-18..05-19· [testing]
links:none on file
slides:none on file

A PySpark pipeline contains a one-line bug (forgotten parameter causing an inner join instead of a left anti-join) that corrupts two months of data, costs a team of eight five days to locate, three days to fix and seven days to backfill. A large integration test with 100% coverage hides the fault because it overwrites expected JSON. Using the Saf Squeeze method duplicates the test, makes a pinpoint assertion, inlines transforms and reduces inputs to tiny DataFrames, producing small, fast tests that catch both behaviors and save days.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Talk overview
  3. 1:23Story of a Xenopus frog
  4. 2:46Manual ETL pipeline errors
  5. 3:50Automated tests power
  6. 4:11Pandemic recovery bug
  7. 7:00Root cause investigation
  8. 9:50Failing automated tests
  9. 11:15Jay Bazuzi wisdom
  10. 12:38Why large tests slow dev
  11. 15:51Saf Squeeze technique
  12. 17:14Duplicating test
  13. 19:22Breaking test into parts
  14. 21:50Squeezing bottom
  15. 25:01Squeezing top
  16. 27:30Effort vs improvement
  17. 28:36Testing second behavior
  18. 30:21Benefits at Yelp
  19. 31:44Closing remarks
  20. 32:05Q&A
~/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.