~/talk

Visualizing Assertions for Complex Logic Tests

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [testing, developer-experience]
slides:none on file

App state serializes into a UTF-8 chessboard string, then zips and base64s it to fit into 160 characters for the SMS API; UI renders with Jetpack Compose as a vertical grid of single-character pieces. Tests convert views to bitmaps, build a character map with ImageMagick + Pango, cut the bitmap into character-sized regions and pick the closest glyph by summing grayscale differences. The method produces immediately readable diffs but requires an emulator/device and is slow and brittle at large character sets.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:10Why SMS API fascinates
  3. 4:19Validating chess moves with tests
  4. 7:50Visualizing test assertions
  5. 9:57Testing Android UI with images
  6. 14:06Visual test results demo
  7. 15:32Limitations of approach
  8. 16:37Closing and Q&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.