easy_mock_firebase 0.1.0 copy "easy_mock_firebase: ^0.1.0" to clipboard
easy_mock_firebase: ^0.1.0 copied to clipboard

Firebase test fakes for Flutter widget tests. Stubs the Performance, Messaging, App Check and Crashlytics platform channels and installs an in-memory Remote Config (setRemoteValues / pushUpdate), so e [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add easy_mock_firebase

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

dependencies:
  easy_mock_firebase: ^0.1.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:easy_mock_firebase/easy_mock_firebase.dart';
0
likes
130
points
157
downloads

Documentation

API reference

Publisher

verified publisherahmedomar.com.ly

Weekly Downloads

Firebase test fakes for Flutter widget tests. Stubs the Performance, Messaging, App Check and Crashlytics platform channels and installs an in-memory Remote Config (setRemoteValues / pushUpdate), so each plugin runs its real Dart without reaching native. HttpMetric calls settle under the fake clock and App Check no longer hangs it.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

easy_mock_channel, firebase_core, firebase_core_platform_interface, firebase_remote_config_platform_interface, flutter, flutter_test

More

Packages that depend on easy_mock_firebase