Javascript TDD using Qunit and Karma

karma Karma is a Javascript Test Runner created by the AngularJS team(mainly Vojta Jína) in order to run your Javascript unit tests in multiple Browsers and devices at the same time.

Installing all the prerequisites

Because Karma is an NPM Package, you have to make sure that you’ve installed Node.js already. Personally I like to install Karma and all the dependent plugins locally in my project folder. To install Karma type this command in your Terminal:

npm install karma --save-dev

Continue reading

Advertisements