Skip to content

sitepoint-editors/angular-js-unit-testing-services-controllers-providers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code accompanying a tutorial on tips and tricks for unit testing in AngularJS. http://www.sitepoint.com/unit-testing-angularjs-services-controllers-providers

##How to run

  • Ensure Node.js & npm are installed
  • npm install -g karma-cli (to install the karma-cli package globally)
  • npm install (to install the dependencies)
  • karma start (to start karma and run tests)

The unit tests are written in Jasmine and are run by Karma using PhantomJS.

About

Tips and tricks on how to unit test services, controllers and providers in AngularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published