You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2012/11/05 18:45:44 UTC

[Cordova Wiki] Trivial Update of "RunningTests" by JoeBowser

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "RunningTests" page has been changed by JoeBowser:
http://wiki.apache.org/cordova/RunningTests?action=diff&rev1=11&rev2=12

Comment:
Removing webdriver because it doesn't work. Fixed the tests!

  
  == Testing Cordova on Android (Post Cordova View) ==
  
- Cordova on Android uses JUnit and WebDriver to run numerous tests on the Android Framework.  It is recommended that if any changes are made to Cordova that these tests would be run. These tests can be run on Eclipse or on the Command Line. Also, please make sure that when running these tests that they are at least run on Gingerbread, Honeycomb and Ice Cream Sandwich.  The tests should pass on all three platforms.  To run these tests from the command line, copy the extra/google/webdriver/android_webdriver_library.jar from the Android SDK into the framework/libs directory, then run the following command in the framework directory with a device attached or emulator running: 
+ Cordova on Android uses JUnit to run numerous tests on the Android Framework.  It is recommended that if any changes are made to Cordova that these tests would be run. These tests can be run on Eclipse or on the Command Line. Also, please make sure that when running these tests that they are at least run on Gingerbread, Honeycomb and Ice Cream Sandwich.  The tests should pass on all three platforms.  To run these tests from the command line, copy the extra/google/webdriver/android_webdriver_library.jar from the Android SDK into the framework/libs directory, then run the following command in the framework directory with a device attached or emulator running: 
  
      adb shell am instrument -w com.phonegap/android.test.InstrumentationTestRunner