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

AVA

106
190
+ 1
33
QUnit

153
71
+ 1
17
Add tool

AVA vs QUnit: 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 QUnit? A JavaScript Unit Testing framework. QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!.

AVA and QUnit belong to "Javascript Testing Framework" category of the tech stack.

"Simple and fast" is the primary reason why developers consider AVA over the competitors, whereas "Simple" was stated as the key factor in picking QUnit.

AVA and QUnit are both open source tools. AVA with 16.5K GitHub stars and 1.08K forks on GitHub appears to be more popular than QUnit with 3.83K GitHub stars and 763 GitHub forks.

Taboola, Becual.com, and Navendis are some of the popular companies that use AVA, whereas QUnit is used by Square, ALV CH, and Intervals. AVA has a broader approval, being mentioned in 12 company stacks & 10 developers stacks; compared to QUnit, which is listed in 11 company stacks and 6 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of AVA
Pros of QUnit
  • 13
    Simple and fast
  • 6
    Parallel test running
  • 5
    Open source
  • 3
    Promise support
  • 3
    Test code Instrumenting
  • 2
    Babel integration
  • 1
    ESM Ready
  • 6
    Simple
  • 4
    Open Source
  • 3
    Promise support
  • 3
    Easy setup
  • 1
    Excellent GUI

Sign up to add or upvote prosMake informed product decisions

Cons of AVA
Cons of QUnit
  • 1
    No built-in support for DOM
  • 1
    No source files compilation
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    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 QUnit?

    QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!

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

    What companies use AVA?
    What companies use QUnit?
    See which teams inside your own company are using AVA or QUnit.
    Sign up for Private StackShareLearn More

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

    What tools integrate with AVA?
    What tools integrate with QUnit?
      No integrations found
      What are some alternatives to AVA and QUnit?
      Jest
      Jest provides you with multiple layers on top of Jasmine.
      EVA
      Equipping you with hundreds of symbols and dozens or styles configurations, it makes sure the design stays consistent across all of your applications and platforms.
      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.
      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.
      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.
      See all alternatives