cloud_firestore_mocks 0.9.0+1 copy "cloud_firestore_mocks: ^0.9.0+1" to clipboard
cloud_firestore_mocks: ^0.9.0+1 copied to clipboard

discontinued

Fake implementation of Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.

46
likes
100/ 140
pub points
66%
popularity

We analyzed this package 20 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL is insecure.

Update the homepage field and use a secure (https) URL.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: cloud_firestore_mocks,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: cloud_firestore_mocks.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

19 out of 26 API elements (73.1 %) have documentation comments.

Some symbols that are missing documentation: cloud_firestore_mocks.MockFirestoreInstance, cloud_firestore_mocks.MockFirestoreInstance.MockFirestoreInstance, cloud_firestore_mocks.MockFirestoreInstance.dump, cloud_firestore_mocks.MockFirestoreInstance.hasSavedDocument, cloud_firestore_mocks.MockFirestoreInstance.loadBundle.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:cloud_firestore_mocks/cloud_firestore_mocks.dart that imports:
  • package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart that imports:
  • package:cloud_firestore_mocks/src/util.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cloud_firestore_mocks/cloud_firestore_mocks.dart that imports:
  • package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart that imports:
  • package:cloud_firestore_mocks/src/util.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/cloud_firestore_mocks_base.dart:124:17

    ╷
124 │   bool operator ==(dynamic other) => identical(this, other);
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cloud_firestore_mocks_base.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/mock_collection_reference.dart:195:17

    ╷
195 │   bool operator ==(dynamic other) => identical(this, other);
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mock_collection_reference.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
cloud_firestore ^2.1.0 2.5.4 4.17.1
cloud_firestore_platform_interface ^5.0.1 5.7.5 6.2.1
collection ^1.14.13 1.18.0 1.18.0
flutter flutter 0.0.0 0.0.0
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
quiver ^3.0.0 3.2.1 3.2.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
cloud_firestore_web - 2.6.18 3.12.1
firebase_core - 1.19.0 2.30.1
firebase_core_platform_interface - 4.4.1 5.0.0
firebase_core_web - 1.6.5 2.16.0
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
vector_math - 2.1.4 2.1.4

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

The constraint `^2.1.0` on cloud_firestore does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.

The constraint `^5.0.1` on cloud_firestore_platform_interface does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions cloud_firestore_platform_interface to update the constraint.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

46
likes
100
pub points
66%
popularity

Publisher

verified publisherwafrat.com

Fake implementation of Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

cloud_firestore, cloud_firestore_platform_interface, collection, flutter, plugin_platform_interface, quiver

More

Packages that depend on cloud_firestore_mocks