|
|
4 ani în urmă | |
|---|---|---|
| .. | ||
| Backend | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | 5 ani în urmă |
| Example | 27faa28d4f Cache Functions instances by app (#8258) | 4 ani în urmă |
| FirebaseFunctions | 3ab732b278 Re-enable HTTPSCallableTests (#8265) | 4 ani în urmă |
| Tests | 27faa28d4f Cache Functions instances by app (#8258) | 4 ani în urmă |
| CHANGELOG.md | 3ab732b278 Re-enable HTTPSCallableTests (#8265) | 4 ani în urmă |
| README.md | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | 5 ani în urmă |
Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseFunctions:
pod gen FirebaseFunctions.podspec --local-sources=./open gen/FirebaseFunctions/FirebaseFunctions.xcworkspaceOR these two commands can be combined with
pod gen FirebaseFunctions.podspec --auto-open --gen-directory="gen" --cleanYou're now in an Xcode workspace generate for building, debugging and testing the FirebaseFunctions CocoaPod.
Choose the FirebaseFunctions-Unit-unit scheme and press Command-u.
Before running the integration tests, you'll need to start a backend emulator for them to talk to.
npm installed.Backend/start.sh
It will use npm install to automatically download the libraries it needs
to run the Cloud Functions Local Emulator.
The first time you run it, it will ask for a projectId.
You can put anything you like. It will be ignored.pod install.open FirebaseFunctions.xcworkspace