diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-05-25 22:49:22 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-05-25 22:49:22 -0700 |
commit | 102e62ae5582ec5cad5d8bbe3d42f99b875d143e (patch) | |
tree | 3e294f7aacaded8ba1ed28c3819f03a128868de4 /platform | |
parent | 172e645686384a09e5fcde04001c56b82abc9d3a (diff) | |
download | qtlocation-mapboxgl-102e62ae5582ec5cad5d8bbe3d42f99b875d143e.tar.gz |
[ios] KIF tests require submodules
Documented the submodule step for running KIF-based SDK UI tests. This happened as part of installing core dependencies until #5122.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/DEVELOPING.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/platform/ios/DEVELOPING.md b/platform/ios/DEVELOPING.md index 5f07f410c1..d1be5d703e 100644 --- a/platform/ios/DEVELOPING.md +++ b/platform/ios/DEVELOPING.md @@ -80,14 +80,21 @@ To add or update text that the user may see in the iOS SDK: `make test-ios` builds and runs unit tests of cross-platform code as well as the SDK. -To run these unit tests on the command line, install ios-sim version 3.2.0 (not any other version): +Before you can run UI tests of the SDK, check out KIF and OHHTTPStubs via Git submodules: + +```bash +git submodule init +git submodule update +``` + +Before you can run unit tests of the cross-platform code on the command line, install ios-sim version 3.2.0 (not any other version): ```bash brew tap mapbox/homebrew-ios-sim-3 brew install mapbox/homebrew-ios-sim-3/ios-sim ``` -To instead run the tests in Xcode: +To instead run the cross-platform tests in Xcode instead of on the command line: 1. Run `make iproj` to set up the workspace. 1. Change the scheme to “test (platform project)” and press Command-R to run core unit tests. |