herald_testing 1.2.0
herald_testing: ^1.2.0 copied to clipboard
A fake Herald vendor that records every event, property and call, with assertions for tests in apps that use Herald.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add herald_testingWith Flutter:
$ flutter pub add herald_testingThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
herald_testing: ^1.2.0Alternatively, 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:herald_testing/herald_testing.dart';