This is a project containing samples and a basic configuration for unit testing front end components. It explores basic unit testing, function spying, DOM fixture testing and AJAX mocking. It also demonstrates integration between Karma, Jasmine, Grunt and Istanbul
=====
- Clone the git repository -
ssh://[email protected]:7999/ht/js-unit-testing-workshop.git
- install npm modules -
npm install
- install bower modules -
bower install
grunt karma:unit
- runs unit tests in the specified browsers
grunt karma:coverage
- generates the code coverage report