Karma, as mentioned, is a test runner (and it is spectacular, according to the Karma team). So a test runner really does what the name implies: it runs tests. So, instead of having to refresh your test page, Karma just runs them for you. Karma can be easily configured to run your tests on multiple browsers, such as IE (or some specific version), Edge, Firefox, Chrome, Safari, and Opera. After running your tests, Karma can generate reports on your tests and your code coverage. You can set minimum coverage thresholds and make your test runs fail when your code is not sufficiently covered. On top of that, Karma is a layer of abstraction. You can configure your test framework, such as Jasmine, and then switch to something else, such as Mocha, and everything will still work. You only have to change your tests, of course, and a single line in your Karma configuration...





















































