diff --git a/package.json b/package.json
index ffb4e666..69d63e5c 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,8 @@
"mkpath": "^1.0.0",
"node-version-compare": "^1.0.1",
"plist": "^1.2.0",
- "semantic-release": "^4.3.5"
+ "semantic-release": "^4.3.5",
+ "wd": "^0.4.0"
},
"config": {
"commitizen": {
diff --git a/tests-harness/README.md b/tests-harness/README.md
index 2e0150d6..b34e6dd1 100644
--- a/tests-harness/README.md
+++ b/tests-harness/README.md
@@ -27,12 +27,14 @@ android update sdk --no-ui
```sh
cordova prepare
+cordova plugin add ../ --link --variable BRANCH_KEY=key_live_fnmRM1FXtu11t6e4LU8WsldpvDcA0bzv --variable URI_SCHEME=testbed
+cordova plugin add ../tests --link
cordova compile
```
1. Finally run the tests:
```
-cordova run ios --emulator
-cordova run android --emulator
+./android-test.sh
+./ios-test.sh
```
\ No newline at end of file
diff --git a/tests-harness/android-test.sh b/tests-harness/android-test.sh
new file mode 100755
index 00000000..ecd3bbe8
--- /dev/null
+++ b/tests-harness/android-test.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+rm -rf platforms android
+cordova prepare android
+cordova run android --emulator
\ No newline at end of file
diff --git a/tests-harness/config.xml b/tests-harness/config.xml
index 9b1cecf2..35d3cf6e 100644
--- a/tests-harness/config.xml
+++ b/tests-harness/config.xml
@@ -23,12 +23,7 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/tests-harness/ios-test.sh b/tests-harness/ios-test.sh
new file mode 100755
index 00000000..c2c8fbd2
--- /dev/null
+++ b/tests-harness/ios-test.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+rm -rf platforms ios
+cordova prepare ios
+cordova run ios --emulator
\ No newline at end of file