hazems / cordova-js-unit-testing

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Successful Tests

About

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


Languages

Language:JavaScript 33.2%Language:Java 29.4%Language:Objective-C 22.1%Language:HTML 10.7%Language:CSS 2.3%Language:Batchfile 1.9%Language:Shell 0.4%Language:Ruby 0.0%