herald_testing 1.0.0-dev.2
herald_testing: ^1.0.0-dev.2 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_testingThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
herald_testing: ^1.0.0-dev.2Alternatively, your editor might support dart 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';