4.7K
602
+ 1
181

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.9K GitHub stars and 1.7K GitHub forks. Here’s a link to Karma's open source repository on GitHub

Who uses Karma?

Companies
221 companies reportedly use Karma in their tech stacks, including Accenture, Typeform, and Oxylabs.

Developers
570 developers on StackShare have stated that they use Karma.

Karma Integrations

Mocha, Jasmine, LambdaTest, CrossBrowserTesting , and Allure Report are some of the popular tools that integrate with Karma. Here's a list of all 6 tools that integrate with Karma.
Pros of Karma
61
Test Runner
35
Open source
27
Continuous Integration
22
Great for running tests
18
Test on Real Devices
11
Backed by google
5
Easy Debugging
2
Remote Control
Decisions about Karma

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

Sai Chaitanya Mankala
Tech Lead at KIOT Innovations · | 6 upvotes · 859.5K views
Needs advice
on
CypressCypress
and
ProtractorProtractor

Protractor or Cypress for ionic-angular?

We have a huge ionic-angular app with almost 100 pages and 10+ injectables. There are no tests written yet. Before we start, we need some suggestions about the framework. Would you suggest Cypress or Angular's Protractor with Jasmine / Karma for a heavy ionic app with Angular?

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
602 developers follow Karma to keep up with related blogs and decisions.