Skip to content
This repository was archived by the owner on Dec 7, 2020. It is now read-only.

Commit 8568f73

Browse files
author
Severi Haverila
committed
added simple readme
1 parent b62d203 commit 8568f73

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Prerequisites
2+
## General
3+
4+
Appium
5+
6+
## Android
7+
Android SDK
8+
9+
### Notes
10+
11+
```
12+
export PATH=$PATH:$ANDROID_HOME/platform-tools/
13+
export PATH=${PATH}:$ANDROID_HOME/tools/
14+
```
15+
16+
## iOS
17+
18+
libimobiledevice
19+
20+
### Notes
21+
22+
```
23+
brew uninstall libimobiledevice
24+
brew install --HEAD libimobiledevice
25+
```
26+
27+
# Getting started
28+
Run Appium:
29+
30+
` appium` or `appium -U <udid>`
31+
32+
33+
```
34+
cd library
35+
mvn package
36+
cp target/image-recognition-library-2.0-SNAPSHOT.jar ../example/lib/image_recognition_library_test.jar
37+
cd ../example
38+
39+
# Download the example Android application
40+
wget https://github.com/bitbar/testdroid-samples/blob/master/apps/builds/BitbarSampleApp.apk -O application.apk
41+
mvn -Dtest=AndroidSample clean test
42+
43+
# Download the example iOS application
44+
wget https://github.com/bitbar/testdroid-samples/blob/master/apps/builds/BitbarIOSSample.ipa -O application.ipa
45+
export UDID=<iPhone udid>
46+
mvn -Dtest=iOSSample clean test
47+
```
48+

0 commit comments

Comments
 (0)