Mocha vs. Jasmine

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


Mocha

Jasmine

Favorites

66

Favorites

35

Hacker News, Reddit, Stack Overflow Stats

  • -
  • -
  • 5.99K
  • 5
  • 2
  • 9.96K

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.

Pros about this tool

Pros
Why do you like Mocha?

Pros
Why do you like Jasmine?

Companies

330 Companies Using Mocha
142 Companies Using Jasmine

Integrations

Mocha Integrations
Jasmine Integrations

What are some alternatives to Mocha and Jasmine?

  • 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