From 102e62ae5582ec5cad5d8bbe3d42f99b875d143e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 25 May 2016 22:49:22 -0700 Subject: [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. --- platform/ios/DEVELOPING.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'platform') 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. -- cgit v1.2.1