Visualizing Assertions for Complex Logic Tests
summary
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
chapters (8)
- 0:00Introduction to talk
- 1:10Why SMS API fascinates
- 4:19Validating chess moves with tests
- 7:50Visualizing test assertions
- 9:57Testing Android UI with images
- 14:06Visual test results demo
- 15:32Limitations of approach
- 16:37Closing and Q&A








