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 [...]

130/ 160
pub points
157
downloads

We analyzed this package 10 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

6 out of 38 API elements (15.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: easy_mock_firebase, firebase_app_check_mock, firebase_app_check_mock.MockFirebaseAppCheck, firebase_app_check_mock.MockFirebaseAppCheck.init, firebase_app_check_mock.mockFirebaseAppCheck.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:easy_mock_firebase/easy_mock_firebase.dart that imports:
  • package:easy_mock_firebase/firebase_remote_config_mock.dart that imports:
  • package:firebase_remote_config_platform_interface/firebase_remote_config_platform_interface.dart that imports:
  • package:firebase_remote_config_platform_interface/src/platform_interface/platform_interface_firebase_remote_config.dart that imports:
  • package:firebase_remote_config_platform_interface/src/method_channel/method_channel_firebase_remote_config.dart that imports:
  • package:firebase_remote_config_platform_interface/src/method_channel/utils/exception.dart that imports:
  • package:_flutterfire_internals/_flutterfire_internals.dart that imports:
  • package:_flutterfire_internals/src/exception.dart that imports:
  • package:firebase_core/firebase_core.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:easy_mock_firebase/easy_mock_firebase.dart that imports:
  • package:easy_mock_firebase/firebase_remote_config_mock.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
easy_mock_channel ^0.1.0 0.1.0 0.1.0
firebase_core ^4.13.0 4.14.0 4.14.0
firebase_core_platform_interface ^8.1.0 8.1.1 8.1.1
firebase_remote_config_platform_interface ^3.0.3 3.0.7 3.0.7
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.77 1.3.77
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
firebase_core_web - 3.11.0 3.11.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.14
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
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