mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-04-14 00:01:34 +08:00
CB-7663 - Update README for command line invocation of tests
This commit is contained in:
+12
-2
@@ -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.
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user