|
|
5 vuotta sitten | |
|---|---|---|
| .. | ||
| Example | 69c3e4b9e5 Add an integration test for callbacks on the main thread (#6054) | 5 vuotta sitten |
| Protos | 3d573f9714 Update Firestore sources for nanopb 0.3.9.5 (#5481) | 6 vuotta sitten |
| Source | ffe23884da Add #include for config.h to get the value for HAVE_LIBDISPATCH (#6041) | 5 vuotta sitten |
| Swift | 01bf549253 Update formatters (#5933) | 5 vuotta sitten |
| core | 691e71a930 Rework config.h handling for Swift Package Manager compatibility (#6087) | 5 vuotta sitten |
| fuzzing | 7a58eba2e5 Remove `firebase/firestore` from paths in Firestore/core (#5374) | 6 vuotta sitten |
| third_party | 01bf549253 Update formatters (#5933) | 5 vuotta sitten |
| CHANGELOG.md | a4daf76663 Update CHANGELOG for Firestore v1.16.3 (#6082) | 5 vuotta sitten |
| CMakeLists.txt | 2a8d069b77 Run integration tests from CMake on mac (#4276) | 6 vuotta sitten |
| README.md | 2656033eb2 Update integration testing docs (#5490) | 6 vuotta sitten |
| test.sh | 5930ad2fee Factor out a universal build script (#884) | 8 vuotta sitten |
Set up a workspace via CocoaPods
$ cd Firestore/Example
$ pod update
$ open Firestore.xcworkspace
Select the Firestore_Tests_iOS scheme
⌘-u to build and run the unit tests
You can install a set of type formatters to improve the presentation of
Firestore internals in LLDB and Xcode. Add the following to your ~/.lldbinit file:
command script import ~/path/to/firebase-ios-sdk/scripts/lldb/firestore.py
(substitute the location of your checkout of the firebase-ios-sdk.)
Prefer running the integration tests against the Firestore Emulator. This is much faster than running against production and does not require you to configure a Firestore-enabled project.
scripts/run_firestore_emulator.sh and leave it running.Firestore_IntegrationTests_iOS scheme (or macOS or tvOS).Occasionally it's useful to run integration tests against a production account.
GoogleServices-Info.plist
file in Firestore/Example/App.If you want to switch back to running integration tests against the emulator:
GoogleServices-Info.plist is in its default state (git
checkout Firestore/Example/App/GoogleServices-Info.plist).Typically you should not need to worrying about regenerating the C++ files from the .proto files. If you do, see instructions at Protos/README.md.