~/talk

Fewer, Smarter, Faster: Scaling Testing @Spotify

Talkat BA: Swiftable 2022 · 2022-12-01..12-02· [testing]
links:none on file
links:none on file
slides:none on file

Spotify runs about 48,000 pre-merge tests and uses Bazel with bazel diff to compute impacted targets so only affected tests run after restructuring features into API, implementation, test utilities and test targets for test isolation. About 65% of components are isolated and PR to green time drops 50–80% while CI startup time falls ~66%. A Master Guardian system detects and skips flaky or slow tests (threshold ~8s) pre-merge and runs all tests post-merge.

AI-written summary · about

  1. 0:00Introduction to testing at Spotify
  2. 1:11Defining scale at Spotify
  3. 5:01Fewer smarter faster tests approach
  4. 5:42Test avoidance with Bazel
  5. 18:54Managing flaky tests
  6. 21:43Skipping slow tests
  7. 23:28Key takeaways and recommendations
  8. 25:03Q&A session
~/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.