cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cordova Wiki] Update of "RunningTests" by FilMaj
Date Tue, 28 Feb 2012 16:45:54 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 FilMaj:

added a testing procedure.

   1. a QUnit suite of tests that assert things about the Cordova JavaScript API. When you
load mobile-spec up on your device, hit the "Automatic Tests" button and that test suite should
start executing.
   2. a series of "manual" tests. These are all linked from the project's root page. You should
run through each one to make sure baseline functionality works as expected.
+ === Testing Procedure ===
+  1. As a baseline, run the QUnit Mobile Spec tests and note the number of tests passing/failing.
Use this a baseline when comparing changes you make. Not all platforms pass all of the tests
100%, but less than 50 failing tests is an acceptable number.
+  2. Make changes to either the cordova-js code or the native code.
+  3. Rebuild Cordova and/or the JavaScript and re-run the mobile-spec tests.
+  4. Compare the number of failing tests.
+  5. Rinse and repeat until you get the same (or possibly even less!) number of tests failing.
  == Testing Cordova on Android (Post Cordova View) ==

View raw message