Mocha vs. Jasmine vs. QUnit

Get help choosing one of these Get news updates about these tools


Favorites

66

Favorites

35

Favorites

2

Hacker News, Reddit, Stack Overflow Stats

  • -
  • -
  • 6.06K
  • 5
  • 2
  • 10K
  • -
  • 8
  • 1.07K

GitHub Stats

Description

What is 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.

What is 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.

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!

Pros

Why do developers choose Mocha?
Why do you like Mocha?

Why do developers choose Jasmine?
  • Why do you like Jasmine?

    Why do developers choose QUnit?
    Why do you like QUnit?

    Cons

    What are the cons of using Mocha?
    No Cons submitted yet for Mocha
    Downsides of Mocha?

    What are the cons of using Jasmine?
    No Cons submitted yet for Jasmine
    Downsides of Jasmine?

    What are the cons of using QUnit?
    No Cons submitted yet for QUnit
    Downsides of QUnit?

    Companies

    What companies use Mocha?
    335 companies on StackShare use Mocha
    What companies use Jasmine?
    143 companies on StackShare use Jasmine
    What companies use QUnit?
    10 companies on StackShare use QUnit

    Integrations

    What tools integrate with Mocha?
    2 tools on StackShare integrate with Mocha
    What tools integrate with Jasmine?
    1 tools on StackShare integrate with Jasmine
    No integrations listed yet

    What are some alternatives to Mocha, Jasmine, and QUnit?

    • Jest - Painless JavaScript Unit Testing
    • Enzyme - JavaScript Testing utilities for React, by Airbnb
    • Protractor - End-to-end test framework for Angular and AngularJS applications
    • AVA - A refined, futuristic test runner

    See all alternatives to Mocha

    Latest News

    WebStorm 2017.3 EAP, 173.2941: watch mode with Jest ...


    Interest Over Time


    Get help choosing one of these