~/talk

How I auto-refactored GDAL's test suite

Talkat FOSS4G SotM Oceania 2019 · 2019-11-12..11-15· [testing, web-platform]
links:none on file
slides:none on file

Uses Bowler to run syntax-aware refactors across GDAL's ~370k-line Python test suite, converting bespoke return-value tests into pytest fixtures and assertions, removing temp-file cleanup boilerplate, eliminating diagnostic prints, and renaming functions to test_. Automated changes remove ~9,000 lines* of dead code. A script recreates and rebases automated commits to avoid conflicts while the repo sees 10–20 commits per day, and the work lands via small, incremental PRs after mailing-list review.

AI-written summary · about

  1. 0:00Intro
  2. 0:37How I got started
  3. 2:49The problem
~/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.