test_snapshots 1.0.0 copy "test_snapshots: ^1.0.0" to clipboard
test_snapshots: ^1.0.0 copied to clipboard

A helper to automatically create snapshots of your widget tests using golden tests structure

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add test_snapshots

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  test_snapshots: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:test_snapshots/test_snapshots.dart';
0
likes
130
points
54
downloads

Publisher

unverified uploader

Weekly Downloads

A helper to automatically create snapshots of your widget tests using golden tests structure

Repository (GitHub)
View/report issues

Topics

#testing #golden-test #widget-test #screenshot #snapshot

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_test, golden_toolkit, leak_tracker_testing, meta

More

Packages that depend on test_snapshots