JavaScript Mocha

Open-source JavaScript projects categorized as Mocha

Top 23 JavaScript Mocha Projects

  • mocha

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

    Project mention: Using Node.js for Automated Testing with Headless Browsers | dev.to | 2023-09-11

    To execute your tests, you can create test scripts using popular testing frameworks like Mocha, Jasmine, or Jest. These frameworks provide a structured way to organize and run your tests, report results, and handle assertions.

  • javascript-testing-best-practices

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

    Project mention: Awesome Github Repos to Master JAVASCRIPT | dev.to | 2023-02-03

    😎 You want to take your JS testing skills to the next level, here is a nice repo -> javascript-testing-best-practices

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • Enzyme

    JavaScript Testing utilities for React

    Project mention: Speeding up the JavaScript ecosystem – Polyfills gone rogue | news.ycombinator.com | 2023-09-21

    ljharb is an extremely interesting person. There’s no doubting the positive impact he’s had on the OSS community and the work he’s done.

    However, there are some things he does that are incomprehensible.

    For example, Enzyme. Over three years ago this issue was opened for Enzyme on React 17: https://github.com/enzymejs/enzyme/issues/2429

    Nothing moved for a while, and I think he said something along the lines of “if you want React 17 support, stop complaining and help”. So the community got involved. There are multiple PRs adding React 17 support. Many unofficial React 17 adapters. A lot of people have put a lot of work into this, ensuring compatibility, coverage etc. Yet to this day, none of them have been merged. Eg https://github.com/enzymejs/enzyme/pull/2564

    Given the amount of time that has passed, and the work the community has put in, something is amiss. It feels like he’s now intentionally avoiding React 17+ support. But why? I don’t understand why someone would ask for help then ignore the help when it comes in. That isn’t much better than the swathe of rude/entitled comments he was getting on the issue before he locked it.

    I ended up migrating to RTL, but this made many of my tests more complicated (especially compared to shallow rendering).

  • karma

    Spectacular Test Runner for JavaScript

    Project mention: How to Fetch Data from an API in Angular | dev.to | 2023-05-29

    Run ng test to execute the unit tests via Karma.

  • nodejs-integration-tests-best-practices

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

    Project mention: Express API Testing | /r/node | 2023-03-07
  • node-coveralls

    lcov posting to coveralls.io

  • mochawesome

    A Gorgeous HTML/CSS Reporter for Mocha.js

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • chakram

    REST API test framework. BDD and exploits promises

  • xv

    🙅‍♀️ ✌️ A tiny test runner focused on simplicity and speed

  • baretest

    An extremely fast and simple JavaScript test runner.

  • Mochify

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

  • serverless-mocha-plugin

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

  • cypress-mochawesome-reporter

    Zero config Mochawesome reporter for Cypress with screenshots and videos

  • SuperTest_poc

    API Testing using supertest, mocha and chai.

  • FireShare

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

  • webdriverio-mocha-uiautomation-boiler

    Boilerplate project to run WEB Test Automation WebdriverIO v6 with Mocha

  • 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)

  • leia

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

  • npm-package-template

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

    Project mention: My opinionated JavaScript package template repository - zero config, start immediately | dev.to | 2023-08-08

    View on GitHub

  • sandworm-mocha

    Security Snapshot Testing Inside Your Mocha Test Suite 🪱

    Project mention: Easy auditing & sandboxing for your JavaScript dependencies. Fine grained permissions system for npm packages. | /r/webdev | 2022-10-12

    Yes, you can use it for security by locking down which dependencies can execute which methods in your app. But you can also use it for auditing and documenting your app's supply chain security profile, then snapshot testing against that using the Jest and Mocha plugins.

  • expect-mocha-image-snapshot

    A wrapper around jest-image-snapshot that makes it compatible to Mocha.

  • 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.

  • sumo-queue

    Queue Data Structure Implementation. Use it for large arrays.

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

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). The latest post mention was on 2023-09-21.

JavaScript Mocha related posts

Index

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

Project Stars
1 mocha 22,197
2 javascript-testing-best-practices 22,187
3 Enzyme 19,997
4 karma 11,876
5 nodejs-integration-tests-best-practices 3,042
6 node-coveralls 1,064
7 mochawesome 1,033
8 chakram 906
9 xv 783
10 baretest 420
11 Mochify 344
12 serverless-mocha-plugin 159
13 cypress-mochawesome-reporter 126
14 SuperTest_poc 33
15 FireShare 32
16 webdriverio-mocha-uiautomation-boiler 24
17 currency-api 19
18 leia 15
19 npm-package-template 8
20 sandworm-mocha 5
21 expect-mocha-image-snapshot 5
22 with-local-tmp-dir 4
23 sumo-queue 3
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com