Introduction to Karma

This is a quick tutorial covering installing Karma and running tests from the command line and Webstorm. Karma is a test runner for JavaScript that runs on Node.js. It is very well suited to testing AngularJS or any other JavaScript projects.

Using Karma to run tests using one of many popular JavaScript testing suites (Jasmine, Mocha, QUnit, etc.) and have those tests executed not only in the browsers of your choice, but also on the platform of your choice (desktop, phone, tablet.) Karma is highly configurable, integrates with popular continuous integration packages (Jenkins, Travis, and Semaphore) and has excellent plugin support.

Watch this video on https://egghead.io/lessons/unit-testing-introduction-to-karma

Further reading

Karma – a Javascript Test Runner

Related Videos: