Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] KIF tests require submodules
Browse files Browse the repository at this point in the history
Documented the submodule step for running KIF-based SDK UI tests. This happened as part of installing core dependencies until #5122.
  • Loading branch information
1ec5 committed May 26, 2016
1 parent 172e645 commit 102e62a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions platform/ios/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 102e62a

Please sign in to comment.