Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hazems/cordova-js-unit-testing

This application shows how to unit test a simple Apache Cordova application JavaScript App.
https://github.com/hazems/cordova-js-unit-testing

cordova javascript

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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](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](https://raw.githubusercontent.com/hazems/cordova-js-unit-testing/master/figures/success.png)