-
Notifications
You must be signed in to change notification settings - Fork 9
Setup and run RestKit XCTests
This assumes you have Cocoapods installed. From a terminal session change to the workspace directory and: pod install
Note: As at 2015-06-25 with the feature/afnetworking-2.0 fork there are mismatched dependancies on AFN, the podfile.lock and RestKit.podspec file must be edited and all references to AFN versions changed to '2.4.0' otherwise the test target will not build.
It is also recommended that you checkout the RestKit master branch to a separate workspace and install pods to that workspace so you can run the XCTests against the master branch, confirm your setup is correct and establish a baseline.
Xcode: Product/ Build for testing
From a terminal session: sudo gem install bundler bundle install
To start the server: rake server
Xcode: Product / test The test target will only execute against a simulator. As at 2015-06-25 886 tests execute for iOS and on a modest Mac Mini they take about 434 seconds to complete.