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
- I have found testing documentation for js : https://firebase.google.com/docs/functions/unit-testing
- Tried testing on firebase emulator with little success since concurrency behaviour greatly differs from production:https://cloud.google.com/firestore/native/docs/emulator#transactions
- Unit test samples only involve js : https://github.com/firebase/functions-samples/tree/main?tab=readme-ov-file
Reactions are currently unavailable
What I’m looking for
What I have tried so far