CB-7938 - Added XCTest unit tests project, with stubs (adapted from SplashScreen unit test setup) (closes #60)

This commit is contained in:
Shazron Abdullah
2014-12-16 16:45:01 -05:00
committed by Shazron Abdullah
parent 35c653d24d
commit 482f2ac2cc
15 changed files with 1472 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
# iOS Tests for CDVCamera
You need to install `node.js` to pull in `cordova-ios`.
First install cordova-ios:
npm install
... in the current folder.
# Testing from Xcode
1. Launch the `CDVCameraTest.xcworkspace` file.
2. Choose "CDVCameraLibTests" 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
npm test