cordova-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 JoshSoref
Date Thu, 07 Nov 2013 12:55:52 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 JoshSoref:
https://wiki.apache.org/cordova/RunningTests?action=diff&rev1=19&rev2=20

Comment:
Wikify page

  == Testing the Device API ==
  
- Currently the device api tests live in a project called [[http://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=summary|mobile-spec]]
which, being a set of webpages, needs to be run in an Apache Cordova shell. Simply create
an Apache Cordova project and include the test suite in the www folder. The tests will run
when the application is launched.
+ The device api tests live in a project called [[http://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=summary|mobile-spec]].
+  * They run in an Apache Cordova shell:
+   1. Create an Apache Cordova project
+   1. include the test suite in the www folder.
+  * The tests will run when the application is launched.
  
  There are two parts to the Mobile Spec:
  
-  1. a suite of Jasmine tests that assert things about the Cordova JavaScript API. When you
load mobile-spec up on your device, hit the "Automatic Tests" button, and select which specific
API to test (or select "all" to run them all).
-  1. 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. The section below
spells out the details of what should be done and the expected behaviour.
+  1. a suite of Jasmine tests that assert things about the Cordova JavaScript API.
+   1. Load mobile-spec up on your device,
+   1. hit the "Automatic Tests" button,
+   1. select which specific API to test (or select "all" to run them all).
+  1. a series of "manual" tests.
+   * Linked from the project's root page.
+   * Run through each one to make sure baseline functionality works as expected.
+   * The section below spells out the details of what should be done and the expected behaviour.
  
  === Whitelist Exceptions Needed ===
  

Mime
View raw message