Adding tests to the README

This commit is contained in:
Joe Bowser 2012-05-16 16:13:46 -07:00
parent 24dfbfd84f
commit ffa1eb1ee9

View File

@ -102,6 +102,14 @@ Importing a Cordova Android Project into Eclipse
5. Right click on the project root: Run as > Run Configurations 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) 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 Further Reading
--- ---