Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

AVA
AVA

86
89
+ 1
28
Karma
Karma

488
313
+ 1
175
Add tool

AVA vs Karma: What are the differences?

What is AVA? A refined, futuristic test runner. Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file.

What is Karma? Spectacular Test Runner for JavaScript. 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.

AVA and Karma are primarily classified as "Javascript Testing Framework" and "Browser Testing" tools respectively.

"Simple and fast" is the top reason why over 11 developers like AVA, while over 56 developers mention "Test Runner" as the leading cause for choosing Karma.

AVA and Karma are both open source tools. AVA with 16.4K GitHub stars and 1.07K forks on GitHub appears to be more popular than Karma with 10.7K GitHub stars and 1.61K GitHub forks.

Sellsuki, Coderus, and Repro are some of the popular companies that use Karma, whereas AVA is used by Taboola, Becual.com, and Navendis. Karma has a broader approval, being mentioned in 119 company stacks & 57 developers stacks; compared to AVA, which is listed in 12 company stacks and 10 developer stacks.

What is AVA?

Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file.

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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose AVA?
Why do developers choose Karma?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      Jobs that mention AVA and Karma as a desired skillset
      What companies use AVA?
      What companies use Karma?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with AVA?
      What tools integrate with Karma?
        No integrations found
        What are some alternatives to AVA and Karma?
        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.
        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.
        Cypress
        Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
        Enzyme
        Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
        See all alternatives
        Decisions about AVA and Karma
        No stack decisions found
        Interest over time
        Reviews of AVA and Karma
        No reviews found
        How developers use AVA and Karma
        Avatar of Riderman De Sousa Barbosa
        Riderman De Sousa Barbosa uses KarmaKarma

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

        Avatar of Ron Apelbaum
        Ron Apelbaum uses KarmaKarma

        I use Karma as a test runner for javascript unit tests

        Avatar of Giovanni Candido da Silva
        Giovanni Candido da Silva uses KarmaKarma

        Run unit and integration tests on real browsers

        Avatar of Glib Ischenko
        Glib Ischenko uses KarmaKarma

        Running Unit tests for Angular UI

        Avatar of Typeform
        Typeform uses KarmaKarma

        Testing frontend of admin part

        Avatar of Dave Woolfenden
        Dave Woolfenden uses AVAAVA

        IO heavy testing

        How much does AVA cost?
        How much does Karma cost?
        Pricing unavailable
        Pricing unavailable
        News about AVA
        More news
        News about Karma
        More news