Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 476 Bytes

File metadata and controls

11 lines (8 loc) · 476 Bytes

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.