|
|
пре 4 година | |
|---|---|---|
| .. | ||
| Backend | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | пре 5 година |
| Example | 47e0a982fb App check and storage, functions and RTDB support (#7928) | пре 5 година |
| FirebaseFunctions | 47e0a982fb App check and storage, functions and RTDB support (#7928) | пре 5 година |
| Tests | e789676eae Build and run Functions Combine Unit Tests from SPM (#8080) | пре 4 година |
| CHANGELOG.md | 4662da7514 8.0.0 changlelog formatting (#7987) | пре 5 година |
| README.md | f5fbdac038 Update firebase-admin version for Functions integrations tests (#7666) | пре 5 година |
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