cordova-js-unit-testing

This application shows how to unit test a simple Apache Cordova application JavaScript App.

Stars
3
Committers
1

Weather Application

This is a sample Apache Cordova project which utilizes Jasmine unit testing framework in order to unit test the application logic.

How to work with the sample

  • 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.