Slide 6
Slide 6 text
What is Golden Test?
Golden TestはWidget Testの一種
Goldenとは・・・ 特定のウィジェットや状態の真となるレンダリングと見なされるマスタ画像
> The term golden file refers to a master image that is considered the true rendering of a given widget, state, application, or
> other visual representation you have chosen to capture.
cf. https://api.flutter.dev/flutter/flutter_test/matchesGoldenFile.html
Widget Tree Test
(通常のWidget Test)
Widget Treeを探索評価
Widget Test
Golden Test
Widgetのスクリーンショットを
ピクセルレベルで比較
6