Flutter's Golden Age
summary
Announces an open source package called Flutter Test Goldens that replaces Golden Toolkit by producing decorated galleries, extracting per-widget snapshots, and adding a timeline feature to capture interactions and animations frame-by-frame. It embeds JSON metadata into PNGs (after a discarded QR prototype) so scenes can track bounds and gestures, and it generates consolidated failure scenes with absolute and relative diffs. Package is alpha, published as flutter test goldens on pub and documented at fluttergoldens.com.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:03Golden tests overview
- 2:26Coding and running golden tests
- 3:32Traditional golden tests limits
- 7:20Why Golden Toolkit failed
- 9:05Golden test infrastructure
- 12:17Flutter Test Goldens package
- 12:38Single widget galleries
- 15:02Multi-widget galleries
- 16:27Platform adaptation testing
- 17:52Magazine layout screenshots
- 20:41Interaction timelines
- 22:46Animation timeline recording
- 25:13CLI reporting improvements
- 26:17Failure scenes for debugging
- 27:22Metadata for goldens
- 29:06Future plans and getting started
- 30:28Q&A
related talks
14mTest Semantics with Golden Tests
36mcontribute to the Flutter ecosystem.
20mGlitter with Flutter
17mFlutter Widgets Probably Haven’t Heard Of
38mFlutter: A Path of Vines and Flowers
24mKeynote: Flutter
32m"Flutter: How we're building a UI framework for tomorrow at Google"
45mFlutter: A journey of productivity and happiness
