mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-19 11:52:53 +08:00
22 lines
423 B
Markdown
22 lines
423 B
Markdown
|
# 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
|