This is a sample Apache Cordova project which utilizes Jasmine unit testing framework in order to unit test the application logic.
-
Get an application id from: http://openweathermap.org/appid
-
Copy the app id and replace "[Here enter your key ID]" value of the APP_ID variable with your actual application id.
-
Run SpecRunner.html file under (www/tests) to see the unit test results as shown below.