|
|
преди 6 години | |
|---|---|---|
| .. | ||
| Backend | ee10c4edb0 Use test specs for Functions unit tests (#1864) | преди 7 години |
| Example | abaf801ca2 Remove deprecated Functions xcodeproject (#4591) | преди 6 години |
| FirebaseFunctions | 2cac1f520e Only assign errors if parameter is non-NULL. (#4168) | преди 6 години |
| CHANGELOG.md | 2cac1f520e Only assign errors if parameter is non-NULL. (#4168) | преди 6 години |
| README.md | 9e0d8f4a4f Update required CocoaPods version in READMEs (#3339) | преди 6 години |
Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseFunctions:
pod gen FirebaseFunctions.podspecopen 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