golden_test 1.0.1 copy "golden_test: ^1.0.1" to clipboard
golden_test: ^1.0.1 copied to clipboard

A utility Flutter plugin for writing golden tests that streamlines adding golden tests to your project

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add golden_test

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

dependencies:
  golden_test: ^1.0.1

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:golden_test/golden_test.dart';
25
likes
160
points
1.36k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A utility Flutter plugin for writing golden tests that streamlines adding golden tests to your project

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #testing #golden-tests #ui-testing #snapshot-testing

License

BSD-3-Clause, MIT (license)

Dependencies

flutter, flutter_test, meta

More

Packages that depend on golden_test