Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

WinnipegAndroid/CordovaTestTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CordovaTestTemplate

A unit testable Cordova app

Requirements

  1. Install node brew install node or get it at https://nodejs.org/
  2. Install phantomjs brew install phantomjs or get it at http://phantomjs.org/
  3. Install cordova globally npm install -g cordova
  4. Install gulp globally npm install -g gulp
  5. Install karma globally npm install -g karma

Setup

  1. Install dependencies via npm install
  2. Execute automated tests via gulp watch
  3. Execute single run tests via gulp test

References

  1. http://jbavari.github.io/blog/2014/06/11/unit-testing-angularjs-services/
  2. https://gist.github.com/noahmiller/d61f2b61777acf32f402

About

A unit testable Cordova app via Jasmine and Karma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published