2014-09-29 17:33:50 -07:00
|
|
|
# iOS Tests for CDVSplashScreen
|
|
|
|
|
|
|
|
You need to install `node.js` to pull in `cordova-ios`.
|
|
|
|
|
2014-09-29 17:49:21 -07:00
|
|
|
First install cordova-ios:
|
2014-09-29 17:33:50 -07:00
|
|
|
|
|
|
|
npm install
|
|
|
|
|
|
|
|
... in the current folder.
|
|
|
|
|
2014-09-29 17:49:21 -07:00
|
|
|
|
|
|
|
# Testing from Xcode
|
|
|
|
|
|
|
|
1. Launch the `CDVSplashScreenTest.xcworkspace` file.
|
2014-09-30 11:06:04 -07:00
|
|
|
2. Choose "CDVSplashScreenLibTests" from the scheme drop-down menu
|
2014-09-29 17:49:21 -07:00
|
|
|
3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests
|
|
|
|
|
|
|
|
|
|
|
|
# Testing from the command line
|
|
|
|
|
2014-09-30 11:47:46 -07:00
|
|
|
npm test
|