firebase / firebase/firebase-functions-python

testing support for concurrent HTTP calls and Firestore side effects in Firebase Cloud Functions (Python, Gen 2)

オープン
#249 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。