summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-07-24 16:51:45 +0200
committerParménides GV <parmegv@sdf.org>2014-07-24 16:51:45 +0200
commit1dd922cf3c00bdee4625663e436286fa39e566e5 (patch)
tree211e8daff57c173035ea8b75eeff6f72f3f97ed1 /README.md
parent482c378c2ff3a37a76ed5788cf4eaef30a63d517 (diff)
parentb28eeb08e8ec3baafdd9388cc5b70c6c84db9cf1 (diff)
Merge branch 'develop'0.5.4
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/).