Karma

JavaScript Testing Frameworks

Free planAndroidiOSLinuxmacOSSelf-hostedWebWindows
7.7#1 of 23Freefree plan
The Karma homepage

Overview

Karma is a JavaScript test runner that starts a web server, connects browsers, runs tests, and reports results to developers. It can watch configured files and rerun tests when they change. Plugins connect frameworks such as Jasmine, Mocha, and QUnit, alongside preprocessors, reporters, and browser launchers. Documented launchers include Chrome, Firefox, Safari, PhantomJS, JSDOM, Opera, Internet Explorer, SauceLabs, and BrowserStack. A browser on another device on the same network, including a phone or tablet, can be captured by visiting the Karma server URL. Karma runs on Node.js and is distributed as an npm package; its installation guide recommends installing it locally in a project. Documentation includes integration guides for Travis CI, Jenkins, and Semaphore CI. The project describes Karma as primarily designed for low-level unit testing and points to Protractor for high-level testing. Karma is free and MIT-licensed, but deprecated: it accepts no new features or general bug fixes. Critical security fixes continue until 12 months after Angular CLI’s Web Test Runner support is marked stable.

Who it is for

Karma suits developers who want local, multi-browser tests, reruns on file changes, or CI test runs. The project describes it as primarily for low-level unit testing.

What is good

  • Runs tests across configured real browsers.
  • Watches files and reruns tests after changes.
  • Plugins support Jasmine, Mocha, and QUnit.
  • MIT-licensed and free.

What to know first

  • Deprecated; no new features or general bug fixes.
  • Primarily designed for low-level unit testing.
  • Critical security fixes have a stated support end point.

Verdict

Karma offers browser-based test execution and plugin-based framework support, but its deprecated status is a significant consideration. It remains free under the MIT license, with critical security fixes continuing only through the stated support period.

Karma plans and pricing

All plans
Karma Free MIT-licensed open-source software · deprecated; no new features or general bug fixes github.com · 29 Sept 2026

Compared on JavaScript testing frameworks

Free plan
Yeskarma-runner.github.io
Component testing
Yeskarma-runner.github.io
Coverage reporting
Yeskarma-runner.github.io
Supported runtimes
Node.jskarma-runner.github.io
Parallel execution
Yeskarma-runner.github.io

Facts

Purpose
Karma runs JavaScript tests in multiple real browsers and reports results to developers.github.com · 29 Sept 2026
How it works
Karma starts a web server, connects browsers, runs tests in them, and displays their results.karma-runner.github.io · 29 Sept 2026
Automatic reruns
Karma watches configured files and reruns tests when a file changes.karma-runner.github.io · 29 Sept 2026
Testing frameworks
Plugins are available for Jasmine, Mocha, QUnit, and other testing frameworks.github.com · 29 Sept 2026
Browser launchers
Documented launchers include Chrome, Firefox, Safari, PhantomJS, JSDOM, Opera, Internet Explorer, SauceLabs, and BrowserStack.karma-runner.github.io · 29 Sept 2026
Manual device capture
A browser on another device, including a phone or tablet on the same network, can be captured by visiting the Karma server URL.karma-runner.github.io · 29 Sept 2026
Plugin model
Preprocessors, reporters, browser launchers, and framework adapters are plugins that can be installed from npm or written for Karma.karma-runner.github.io · 29 Sept 2026
CI integrations
The documentation provides integration guides for Travis CI, Jenkins, and Semaphore CI.karma-runner.github.io · 29 Sept 2026
Installation
Karma runs on Node.js, is distributed as an npm package, and the installation guide recommends installing it locally in the project.karma-runner.github.io · 29 Sept 2026
License
Karma is released under the MIT license.karma-runner.github.io · 29 Sept 2026
Maintenance status
Karma is deprecated and is not accepting new features or general bug fixes; critical security issues will still be triaged and fixed during the stated support period.github.com · 29 Sept 2026
Security support period
The repository says critical security fixes will continue until 12 months after Angular CLI's Web Test Runner support is marked stable.github.com · 29 Sept 2026
Who it is for
The project describes Karma as useful for developers who want to run tests locally, in multiple browsers, on each save, or on a continuous integration server.github.com · 29 Sept 2026
Testing scope
The FAQ says Karma was primarily designed for low-level unit testing and recommends Protractor for high-level testing.karma-runner.github.io · 29 Sept 2026
Support
The project directs questions to its mailing list or Gitter and says the issue tracker is for bug reports and feature discussions.github.com · 29 Sept 2026

Best Karma alternatives

See all 12

Where it ranks on Specifiction

Is Karma yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources