Thu, 04 Jun 2015 14:50:33 +0200
Genesis of lecture sources for Droidcon Berlin 2015 in Postbahnhof.
michael@0 | 1 | # iOS Tests for CDVSplashScreen |
michael@0 | 2 | |
michael@0 | 3 | You need to install `node.js` to pull in `cordova-ios`. |
michael@0 | 4 | |
michael@0 | 5 | First install cordova-ios: |
michael@0 | 6 | |
michael@0 | 7 | npm install |
michael@0 | 8 | |
michael@0 | 9 | ... in the current folder. |
michael@0 | 10 | |
michael@0 | 11 | |
michael@0 | 12 | # Testing from Xcode |
michael@0 | 13 | |
michael@0 | 14 | 1. Launch the `CDVSplashScreenTest.xcworkspace` file. |
michael@0 | 15 | 2. Choose "CDVSplashScreenLibTests" from the scheme drop-down menu |
michael@0 | 16 | 3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests |
michael@0 | 17 | |
michael@0 | 18 | |
michael@0 | 19 | # Testing from the command line |
michael@0 | 20 | |
michael@0 | 21 | npm test |