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

Jest-like testing for Flutter/Dart: snapshot matchers, mock helpers, watch-mode CLI, and golden test utilities in one import.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flutter_jest_style

Use it

The package has the following executables:

$ fjest

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_jest_style

With Flutter:

 $ flutter pub add flutter_jest_style

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

dependencies:
  flutter_jest_style: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_jest_style/flutter_jest_style.dart';
0
likes
160
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Jest-like testing for Flutter/Dart: snapshot matchers, mock helpers, watch-mode CLI, and golden test utilities in one import.

Repository (GitHub)
View/report issues

Topics

#testing #snapshot #mocking #jest #golden-tests

License

MIT (license)

Dependencies

args, matcher, meta, mocktail, path, test, watcher

More

Packages that depend on flutter_jest_style