These tests are designed to verify Android native features and other Android specific features.
There really isn‘t any manual setup to do. The ant script takes care of that. You don’t even need to compile cordova-x.y.z.jar or copy it, because project.properties has a library reference to ../framework. However, Robotium has to be installed for the onScrollChanged tests to work correctly. It can be found at https://code.google.com/p/robotium/ and the jar should be put in the ‘libs’ directory'.
To run from command line:
ant debug install
To run from Eclipse:
Once you have installed the test, you can launch and run the tests automatically with the below command:
adb shell am instrument -w org.apache.cordova.test/android.test.InstrumentationTestRunner
(Optionally, you can also run in Eclipse)