summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-07-24 16:50:58 +0200
committerParménides GV <parmegv@sdf.org>2014-07-24 16:50:58 +0200
commitb28eeb08e8ec3baafdd9388cc5b70c6c84db9cf1 (patch)
tree211e8daff57c173035ea8b75eeff6f72f3f97ed1 /README.md
parent66385b8fc376262cad2afd96e8a80aba416e3346 (diff)
parentdce7064c35a903c7b13e97181c07058e143df621 (diff)
Merge branch 'release-0.5.4' into develop
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 68cc075a..37ef3bde 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,21 @@ The resulting apk(s) will be in `app/build/apk`.
* `Import project` => select bitmask_android top folder
+## Running tests
+
+To run the automated tests:
+ 1. Run an emulator
+ 2. Unlock Android
+ 3. Issue the command ./gradlew connectedCheck
+ 4. Pay attention and check the "Trust this app" checkbox, if you don't do so tests won't run.
+
+Due to the nature of some tests, adb will lose its connectivity and you won't receive any tests results. To look for failed tests, do the following:
+ 1. adb kill-server
+ 2. adb logcat | less
+ 3. Look for: "failed: test"
+
+We'll polish this process soon, but right now that's what we're doing (well, in fact, we run "adb logcat" in Emacs and then search "failed: test" in the corresponding buffer ;) ).
+
## Acknowledgements
This project bases its work in [ics-openvpn project](https://code.google.com/p/ics-openvpn/).