Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#249 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
firebase, python

研究方向

先比較 Firebase JavaScript 單元測試文件與所要求的 Python Gen 2 工作流程,然後檢視連結的 Firestore 模擬器並行處理指引。只有當可重現的方法涵蓋並行 POST 請求、Firestore 狀態判斷以及 Firebase Local Emulator 的使用時,該 issue 才算完成。

由索引模型根據 Issue 內容生成。

描述

feature-request

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
主要語言
Python
星號
167
分支
36
平均合併
4 天 3 小時
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

firebase/firebase-functions-python 的其他 Issue

查看 firebase/firebase-functions-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。