golden_screenshot 1.2.0 copy "golden_screenshot: ^1.2.0" to clipboard
golden_screenshot: ^1.2.0 copied to clipboard

Utilities to automate screenshot generation using Flutter's golden tests.

1.2.0 #

  • Added a fuzzy comparator to allow for 0.1% difference between a widget's expected and actual image. You should replace the usual expectLater with tester.expectScreenshot(matchesGoldenFile(...)) to use this feature.

1.1.0 #

  • You can now run tester.precacheImagesInWidgetTree() to precache all images currently in the widget tree, instead of having to manually specify each image with tester.precacheImages([...])

1.0.2 #

  • Fixed apps that use MediaQuery.size not receiving the simulated screen size

1.0.1 #

  • Added documentation comments to most of the code

1.0.0 #

  • Initial release
7
likes
0
pub points
60%
popularity

Publisher

verified publisheradil.hanney.org

Utilities to automate screenshot generation using Flutter's golden tests.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_test, golden_toolkit, matcher

More

Packages that depend on golden_screenshot