Skip to content

Commit 92e94f6

Browse files
committed
Improve README to ease the use by the community
1 parent 4cc8894 commit 92e94f6

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,35 @@ component screenshots at [nativescript-vue.org](https://nativescript-vue.org/).
44

55
## System requirements
66
* Node 7.6 or higher (for async function support).
7-
* The [Appium](http://appium.io/) client. Just download and install the latest [from GitHub](https://github.com/appium/appium-desktop/releases/latest).
7+
* The [Appium](http://appium.io/) client. Just download and install the latest [from GitHub](https://github.com/appium/appium-desktop/releases/latest) or execute the following command:
8+
9+
```bash
10+
npm install -g appium
11+
```
812

913
## Running the tests locally
10-
Start Appium and press 'Start the server', or you'll receive an error `127.0.0.1:4723` can't be reached.
14+
15+
Start Appium, which is
16+
17+
* Using the desktop app, press 'Start the server'
18+
* Using the NPM package, execute `appium` on a terminal
19+
20+
Otherwise you'll receive an error `127.0.0.1:4723` can't be reached.
1121

1222
### Android
23+
24+
Edit the `appium.capabilities.json` config file, in the `android23`, with your device/emulators parameters, probably only the `avd` or `deviceName` parameters would be enough.
25+
26+
Start the tests:
27+
1328
```bash
1429
npm run android.build
30+
adb install platforms/android/app/build/outputs/apk/nativescriptvueuitests-debug.apk
1531
npm run android.screenshots
1632
```
1733

1834
### iOS
35+
1936
```bash
2037
npm run ios.build
2138
npm run ios.screenshots
139 KB
Loading

0 commit comments

Comments
 (0)