{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"Provides an in-memory mock of the Google Cloud Firestore Python client for use in unit tests, supporting collections, documents, queries, transactions, and field transforms without requiring a live database.","skillfed_tags":["firestore","testing","mock"],"use_cases":["Unit test a Python application that uses Firestore without spinning up a real database or incurring cloud costs.","Develop and test Firestore queries and transactions locally before deploying to production.","Mock Firestore in CI/CD pipelines to run tests in parallel without database contention.","Test error handling and edge cases in Firestore code without risking real data.","Prototype Firestore-backed features before committing to cloud infrastructure."],"what_it_does":"mock-firestore is an in-memory implementation of the Google Cloud Firestore Python client, designed to replace the real client in unit tests. It mimics the same API surface\u2014collections, documents, queries, transactions, and field transforms\u2014so test code can use it as a drop-in substitute without hitting the live Firestore service. The package has no runtime dependencies and installs cleanly.\n\nThe implementation is partial; not every Firestore operation is supported, but the description lists a substantial set of working operations including document CRUD, collection traversal, filtering with where clauses, ordering, limits, cursors, and transaction support. It's useful for fast, isolated unit tests where you need a Firestore-like interface but don't want network calls or cloud infrastructure. Reset the mock with reset() to clear state between tests.","worth_installing":"Yes, if you are testing code that uses Firestore and want a lightweight, zero-dependency mock. The package is dormant (last release January 2022) but has no known vulnerabilities and works for its stated purpose. Install it only if your Firestore client API usage aligns with the partial feature set documented; verify coverage of the operations your code relies on before committing to it in your test suite."},"id":"mock-firestore","links":{"html":"https://skillfed.io/packages/mock-firestore","md":"https://skillfed.io/packages/mock-firestore.md","pypi":"https://pypi.org/project/mock-firestore/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-01-24","license_spdx":null,"license_treatment":"permissive","name":"mock-firestore","python_support":"unspecified","summary":"In-memory implementation of Google Cloud Firestore for use in tests"},"popularity":{"monthly_downloads":139644,"position":11293,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.0"}
