|
|
5 years ago | |
|---|---|---|
| .. | ||
| Backend | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | 5 years ago |
| Example | 43a9e437a7 Fix FIRFunctions.useEmulatorWithHost scheme (#7545) | 5 years ago |
| FirebaseFunctions | 43a9e437a7 Fix FIRFunctions.useEmulatorWithHost scheme (#7545) | 5 years ago |
| CHANGELOG.md | 11cea3e0e3 7.7 release notes titles (#7550) | 5 years ago |
| README.md | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | 5 years ago |
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