595
445
+ 1
177

What is Karma?

Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like.
Karma is a tool in the Browser Testing category of a tech stack.
Karma is an open source tool with 11.3K GitHub stars and 1.6K GitHub forks. Here鈥檚 a link to Karma's open source repository on GitHub

Who uses Karma?

Companies
185 companies reportedly use Karma in their tech stacks, including Accenture, Typeform, and TransferWise.

Developers
323 developers on StackShare have stated that they use Karma.
Public Decisions about Karma

Here are some stack decisions, common use cases and reviews by companies and developers who chose Karma in their tech stack.

Switched from Jasmine with Karma that come setup by Angular CLI to use Jest instead, since Jasmine and Karma were very finicky in my setup and had to be reconfigured frequently to run tests properly.

Jest was also easier to integrate into my workflow with Visual Studio Code.

See more
Riderman De Sousa Barbosa
Riderman De Sousa Barbosa
Shared insights
on
KarmaKarma

All services, directives and controllers from angular are tested using Karma. Karma

See more

Karma's Features

  • Test on Real Devices
  • Remote Control
  • Testing Framework Agnostic
  • Open Source
  • Easy Debugging
  • Continuous Integration

Karma Alternatives & Comparisons

What are some alternatives to Karma?
Jasmine
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Jest
Jest provides you with multiple layers on top of Jasmine.
Mocha
Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
Protractor
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Selenium
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
See all alternatives

Karma's Followers
445 developers follow Karma to keep up with related blogs and decisions.
jtakemoto
dtrack
Arantxa Mas贸 Tena
Marc Gavanier
bubbles8187
Pete Polyak
Jing Teng
Shubham Joshi
ark-123
Nathanael Mwenze