flutter/packages/flutter_test/test
Todd Volkert e19db89a0e
Add basic support for golden image file testing (#17094)
* Add a `matchesGoldenFile()` async matcher that will match
  a finder's widget's rasterized image against a golden file.
* Add support for pluggable image comparison backends
* Add a default backend that does simplistic PNG byte
  comparison on locally stored golden files.
* Add support for `flutter test --update-goldens`, which will
  treat the rasterized image bytes produced during the test
  as the new golden bytes and update the golden file accordingly

Still TODO:

* Add support for the `flutter_test_config.dart` test config hook
* Utilize `flutter_test_config.dart` in `packages/flutter/test`
  to install a backend that retrieves golden files from a dedicated
  `flutter/goldens` repo

https://github.com/flutter/flutter/issues/16859
2018-04-30 10:35:56 -07:00
..
finders_test.dart Replace usage of FractionalOffset with Alignment (#12348) 2017-10-02 00:06:24 -07:00
goldens_test.dart Add basic support for golden image file testing (#17094) 2018-04-30 10:35:56 -07:00
matchers_test.dart Add basic support for golden image file testing (#17094) 2018-04-30 10:35:56 -07:00
stack_manipulation_test.dart Declare locals final where not reassigned (flutter_test) (#8569) 2017-03-03 17:51:01 -08:00
test_async_utils_test.dart Do not swallow exceptions in guarded functions. (#9064) 2017-03-30 09:50:30 -07:00
widget_tester_test.dart Fix expectLater to not wrap the delegate in a guard (#17085) 2018-04-30 10:05:04 -07:00