firebase / firebase/firebase-functions-python
testing support for concurrent HTTP calls and Firestore side effects in Firebase Cloud Functions (Python, Gen 2)
- 主要言語
- Python
- スター
- 167
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
What I’m looking for
* A Python testing approach or library that can help for generation 2 functions & firebase.
* Mock/simulate multiple concurrent POST requests.
* Assert Firestore database state after execution.
* Something that works well the firebase local emulator.
What I have tried so far
1. I have found testing documentation for js : https://firebase.google.com/docs/functions/unit-testing
2. Tried testing on firebase emulator with little success since concurrency behaviour greatly differs from production:https://cloud.google.com/firestore/native/docs/emulator#transactions
3. Unit test samples only involve js : https://github.com/firebase/functions-samples/tree/main?tab=readme-ov-file
コントリビューションガイド
調査の方向性
Start by comparing the Firebase JavaScript unit-testing documentation with the requested Python Gen 2 workflow, then review the linked Firestore emulator concurrency guidance. The issue is complete only when a reproducible approach covers concurrent POST requests, Firestore state assertions, and Firebase Local Emulator use.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- firebase, python
- 領域
- backend, cloud, testing-qa
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100