JavaScript Mocha

Open-source JavaScript projects categorized as Mocha

Top 23 JavaScript Mocha Projects

  1. javascript-testing-best-practices

    📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (April 2024)

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    Project mention: From Requests to Reports: Clean Logging in API Testing | dev.to | 2025-05-04

    In this article, we explore logging best practices that are largely tool-agnostic, but we'll demonstrate them using PactumJS, a powerful and extensible API testing tool, along with Mocha, a popular JavaScript test framework. For logging, we’ll use Pino, one of the fastest and most reliable structured loggers for Node.js.

  4. Enzyme

    JavaScript Testing utilities for React

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    Enzyme is a widely-used testing utility that provides robust tools for interacting with and inspecting React components. Its API supports shallow, full, and static rendering, enabling developers to test components in isolation or with their child components. Enzyme also allows testing lifecycle methods, making it ideal for applications with complex state and props interactions.

  5. karma

    Spectacular Test Runner for JavaScript

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    Karma is a flexible test runner that allows developers to execute tests across multiple real browsers. It’s commonly paired with frameworks like Jasmine and Mocha to provide a seamless testing environment for React applications. Karma is particularly beneficial for applications where cross-browser compatibility is a priority, as it enables developers to validate functionality on various platforms simultaneously.

  6. nodejs-testing-best-practices

    Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025)

  7. mochawesome

    A Gorgeous HTML/CSS Reporter for Mocha.js

  8. node-coveralls

    lcov posting to coveralls.io

  9. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  10. chakram

    REST API test framework. BDD and exploits promises

    Project mention: Essential Free Api Testing Tools Every Developer Should Know | dev.to | 2024-10-15

    Chakram is a REST JavaScript API testing tools framework with a BDD testing style and fully exploiting promises. It is designed for HTTP assertions and provides a simple and readable DSL (Domain-Specific Language) that makes it easy for developers and testers to write tests.

  11. xv

    🙅‍♀️ ✌️ fastest test runner

  12. zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

  13. Mochify

    ☕️ TDD with Browserify, Mocha, Headless Chrome and WebDriver

  14. eslint-plugin-mocha

    ESLint rules for mocha

  15. cypress-mochawesome-reporter

    Zero config Mochawesome reporter for Cypress with screenshots and videos

  16. serverless-mocha-plugin

    Plugin for Serverless Framework which adds support for test-driven development using Mocha

  17. SuperTest_poc

    API Testing using supertest, mocha and chai.

  18. FireShare

    Real-time file sharing system. Using NodeJS, ReactJS, SocketIO, MongoDB. Chai, WebdriverIO for testing. (by auspham)

  19. webdriverio-mocha-uiautomation-boiler

    Boilerplate project to run WEB Test Automation WebdriverIO v6 with Mocha

  20. leia

    A testing utility that tests code blocks in documentation. (by lando)

  21. currency-api

    A demo project on how to test a node/express app with Mocha, Nock and proxyquire (MNP) and code coverage with nyc/istanbul. (by geshan)

  22. npm-package-template

    :package: minimal NPM package template using Babel, Mocha, Chai, C8, Standardjs, JSDoc and Rollup. (by jankapunkt)

  23. node-test-runners-performance-comparison

    Node test runners performance comparison

  24. with-local-tmp-dir

    Creates a temporary folder inside cwd, cds inside the folder, runs a function, and removes the folder. Especially useful for testing.

  25. sandworm-mocha

    Security Snapshot Testing Inside Your Mocha Test Suite 🪱

  26. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Mocha discussion

Log in or Post with

JavaScript Mocha related posts

  • Mastering API Changes and Rollbacks Without Breaking Trust

    2 projects | dev.to | 21 Mar 2025
  • How we have managed to run Enzyme tests with React 18 app.

    1 project | dev.to | 27 Oct 2024
  • Unit testing for NodeJS using Mocha and Chai

    1 project | dev.to | 24 Oct 2024
  • Building a Web 3.0 E-commerce App with Hardhat and React.js

    2 projects | dev.to | 18 Aug 2024
  • 🧩🪰 Practical Debugging Guide: The Art of Solving Frontend Problems

    2 projects | dev.to | 13 Aug 2024
  • Introdução a testes unitários no desenvolvimento de software

    2 projects | dev.to | 22 Mar 2024
  • Mocha is being maintained again

    1 project | news.ycombinator.com | 6 Feb 2024
  • A note from our sponsor - Civic Auth
    www.civic.com | 14 May 2025
    Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today. Learn more →

Index

What are some of the best open-source Mocha projects in JavaScript? This list will help you:

# Project Stars
1 javascript-testing-best-practices 24,363
2 mocha 22,761
3 Enzyme 19,934
4 karma 11,970
5 nodejs-testing-best-practices 4,048
6 mochawesome 1,069
7 node-coveralls 1,068
8 chakram 907
9 xv 828
10 zora 540
11 Mochify 346
12 eslint-plugin-mocha 285
13 cypress-mochawesome-reporter 173
14 serverless-mocha-plugin 159
15 SuperTest_poc 44
16 FireShare 34
17 webdriverio-mocha-uiautomation-boiler 24
18 leia 19
19 currency-api 19
20 npm-package-template 17
21 node-test-runners-performance-comparison 14
22 with-local-tmp-dir 5
23 sandworm-mocha 5

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?