From 483182f33a1e7b76251e429d3f9b1b4d4efc8719 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Mon, 29 Sep 2014 17:49:21 -0700 Subject: [PATCH] CB-7663 - Update README for command line invocation of tests --- tests/ios/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/ios/README.md b/tests/ios/README.md index 3be61c4..5bd4008 100644 --- a/tests/ios/README.md +++ b/tests/ios/README.md @@ -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. \ No newline at end of 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