You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/06/07 22:20:54 UTC

[24/50] [abbrv] android commit: Adding tests to the README

Adding tests to the README


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/ffa1eb1e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/ffa1eb1e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/ffa1eb1e

Branch: refs/heads/master
Commit: ffa1eb1ee9d43f1a695f43a836bf9196db2f82f7
Parents: 24dfbfd
Author: Joe Bowser <bo...@apache.org>
Authored: Wed May 16 16:13:46 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed May 16 16:13:46 2012 -0700

----------------------------------------------------------------------
 README.md |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/ffa1eb1e/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 8060376..731fd1f 100755
--- a/README.md
+++ b/README.md
@@ -102,6 +102,14 @@ Importing a Cordova Android Project into Eclipse
 5. Right click on the project root: Run as > Run Configurations
 6. Click on the Target tab and select Manual (this way you can choose the emulator or device to build to)
 
+Running Tests
+----
+1. Go into the test directory
+2. Run the following command: 
+
+    adb shell am instrument -w org.apache.cordova.test/android.test.InstrumentationTestRunner
+
+(Optional: Open the test project in Eclipse, right click on it and select Run as Android Test Project)
 
 Further Reading
 ---