incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cordova Wiki] Update of "RunningTests" by JoeBowser
Date Fri, 20 Jan 2012 19:37:42 GMT
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=3&rev2=4

Comment:
Adding more information about how to run tests in the upcoming release

  
  == 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.
+ 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 dirtectory, 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
+ 
+ This will go through all the current tests that are written for the Android version of Cordova.
 Please note that these tests assume that you are running qUnit in the assets/www directory
of the Android project itself.
+ 

Mime
View raw message