CB-7663 - Update README for command line invocation of tests

This commit is contained in:
Shazron Abdullah 2014-09-29 17:49:21 -07:00
parent d85c6a9359
commit 483182f33a

View File

@ -2,10 +2,20 @@
You need to install `node.js` to pull in `cordova-ios`.
To install cordova-ios:
First install cordova-ios:
npm install
... in the current folder.
Then launch the `CDVSplashScreenTest.xcworkspace` file.
# Testing from Xcode
1. Launch the `CDVSplashScreenTest.xcworkspace` file.
2. Choose "CDVSplashScreenLibTets" from the scheme drop-down menu
3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests
# Testing from the command line
xcodebuild -scheme CordovaLib && xcodebuild test -scheme CDVSplashScreenLibTests