Mocha

Mocha is a JavaScript test framework for Node.js programs, featuring browser support, asynchronous testing, test coverage reports, and use of any assertion library.
Assertation styles
- assert
- expect
- should
Methologies
- TDD
- BDD
Reporting styles
Features
- GitHub: https://github.com/topics/mocha
- Wikipedia: https://en.wikipedia.org/wiki/Mocha_(JavaScript_framework)
- Repo: https://github.com/mochajs/mocha
- Created by: OpenJS Foundation
- Released: November 22, 2011
- Related Topics: testing, javascript, nodejs, tdd, bdd, jasmine, chai, qunit, jest,
- Aliases: mochajs,
- Last updated: 2025-06-21 00:19:35 UTC
- JSON Representation
https://github.com/mgrybyk/webdriverio-devtools
WebdriverIO with Chrome DevTools Protocol
devtools mocha typescript webdriverio
Last synced: 13 Apr 2025
https://github.com/ysmoradi/mocha-chai-ts-starter
Mocha + Chai + TypeScript + VS Code Debug
api chai javascript mocha test typescript vscode
Last synced: 07 May 2025
https://github.com/imranr98/backdraft
Node.js, Express, and PostgreSQL based web server with simple user authentication, to be used as a template or starting off point for backend projects.
authentication chai express jwt logging mocha morgan nodejs openapi postgresql prisma rdbms refresh-token sql swagger swagger-ui testing tsoa typescript winston
Last synced: 14 May 2025
https://github.com/xjreb/skeleton-express-typescript
A skeleton project with Express.js, TypeScript, Mocha, and Chai.
chai expressjs mocha typescript
Last synced: 12 Apr 2025
https://github.com/wrumsby/ristretto
A browser friendly assertion library for Mocha
javascript legacy mocha unit-testing
Last synced: 23 Apr 2025
https://github.com/mackentoch/react-redux-immutable-webpack-starter
React + Redux + Immutable + React Router 4 + Bootstrap + Webpack 3 -starter
boilerplate bootstrap3 chai enzyme immutablejs mocha nyc react-router react-router-v4 reactjs redux sass starter-project webpack webpack3
Last synced: 15 Apr 2025
https://github.com/el-davo/webpack-react-typescript-boilerplate
Webpack React Typescript Boilerplate
boilerplate enzyme json-server json-server-mock mocha react react16 reactjs redux typescript webdriverio webpack3 webpack3-boilerplate yarn
Last synced: 11 Mar 2025
https://github.com/tangbc/js-test-workflows
A collection of different JavaScript test workflows, helping you choose a suitable/preferable Test-Driven Development.
jasmine javascript-tests jest karma-jasmine mocha tdd test-workfolw
Last synced: 10 Apr 2025
https://github.com/glaucia86/live-coding-tdd-node
Repositório responsável pelo live coding realizado no canal Twitch.tv
chai crud express mocha mongodb nodejs restful-api tdd
Last synced: 18 Jun 2025
https://github.com/riteshpuvvada/anonymous-board
Create a forum, chat or replay anonymously.
anonymous-chat board helmetjs javascript message mocha node-js security
Last synced: 23 Mar 2025
https://github.com/rajatt95/cypress_js_bdd
Automation Testing | Web | Cypress | Javascript | VS Code | Mocha | Cucumber | Cucumber-HTML-Reports | API Interceptor | Videos | Screenshots | Retries | Tagging
bdd-framework cucumber cucumber-html-reports cypress javascript mocha page-object-model vscode
Last synced: 10 Apr 2025
https://github.com/karmaniverous/nextjs-template
A sweet Next.js project template. Integrates Redux Toolkit with with test support for Mocha + Chai + React Testing Library and release publishing via release-it.
chai es6 mocha nextjs react react-testing-library redux redux-toolkit release template testing
Last synced: 14 May 2025
https://github.com/rishichawda/lighthouse-mocha-example
Example using lighthouse and chrome-launcher for running lighthouse tests with mocha
chrome lighthouse-audits mocha performance test
Last synced: 11 Apr 2025
https://github.com/bahmutov/repeat-it
Run a Mocha BDD "it" test as many times as you want
bdd flaky mocha mocha-tests repeat test utility
Last synced: 18 Jan 2025
https://github.com/mrdulin/mocha-chai-sinon-codelab
Learning testing with Mocha, Chai, Sinon By Examples
chai examples mocha mocha-chai-sinon mocha-tests mocha-typescript mochajs nodejs sinon sinon-js sinonjs stackoverflow test test-framework testing testing-framework testing-tools tutorial unit-test unit-testing
Last synced: 10 Feb 2025
https://github.com/dye784/chat-app
A chat app based on Slack! Built using React, Redux, NodeJs, Express, PostgreSQL, Sequelize, and Socket.io.
chai chat-room enzyme expressjs javascript mocha nodejs postgres postgresql react redux sequelize socket-io supertest
Last synced: 12 Apr 2025
https://github.com/gagarinjs/meteor-mocha
A set of packages for writing unit tests in Meteor
Last synced: 13 Feb 2025
https://github.com/nfour/fermenter
A strongly typed Gherkin test runner
cucumber gherkin jest mocha tests typescript
Last synced: 07 May 2025
https://github.com/andriilazebnyi/webdriverio-typescript-boilerplate
WebdriverIO TypeScript Boilerplate. Quick start with WebdriverIO + TypeScript + Mocha.
mocha selenium typescript wdio webdriverio
Last synced: 12 Jan 2025
https://github.com/rwieruch/node-testing-mocha-chai
How to setup testing for Node.js with Mocha and Chai.
chai mocha node node-js nodejs testing testing-framework
Last synced: 15 Apr 2025
https://github.com/springload/mocha-chai-to-jest
How to migrate unit tests from Mocha and Chai to Jest
chai documentation jest migrate migration mocha unit-testing
Last synced: 05 Dec 2024
https://github.com/tzachbon/ssr-react-monorepo-example
Example for React Server-Side Rendering (SSR) without any framework inside monorepo with Typescript and tests
async-rendering components-react e2e express javascript mocha monorepo nextjs nodejs react server-side-rendering ssr suspense testing turborepo typescript webpack
Last synced: 23 Nov 2024
https://github.com/benmalcom/express-babel-starter
An express starter kit with support for es6+ features using babel
babel babel-cli boilerplate es2015 es2016 es6 es7 eslint express-babel-boilerplate express-babel-seed js mocha nodejs seed starter
Last synced: 15 Apr 2025
https://github.com/applitools/workshop-cbt-cypress
Workshop: Modern Cross-Browser Testing with Cypress
applitools cross-browser-testing cypress cypress-io javascript mocha testing visual-ai visual-testing
Last synced: 15 Apr 2025
https://github.com/dotnetprofessional/livedoc
A Living Documentation platform for BDD (Gherkin) specifications.
bdd cucumber gherkin javascript livedoc livedoc-mocha living-documentation mocha typescript
Last synced: 29 Jan 2025
https://github.com/euberdeveloper/mongoback
The most powerful npm module to export and make backups of your MongoDB
Last synced: 28 Apr 2025
https://github.com/riteshpuvvada/stock-checker
Check the current stock exchange rate.
chai express helmetjs mocha mongodb mongoose nodejs stock-price-checker
Last synced: 23 Mar 2025
https://github.com/mmouterde/mocha-sonarqube-reporter
mocha reporter for sonar (>6.2)
Last synced: 05 May 2025
https://github.com/tkssharma/javascript-testing-world
🥼🧬🧪🔬🧫🦠 All about javascript Testing using Different Libraries 2021 [Become Smart Developer] 🥼🧬🧪🔬🧫🦠
code code-coverage-html coverage-report cypress e2e-tests istanbuljs jasmine jest jest-snapshots karma-jasmine mocha mocha-chai nestjs-graphql nock nyc sinon testing unit-testing
Last synced: 15 May 2025
https://github.com/rajatt95/cypress_js
Automation Testing | Web+API | Cypress | Javascript | VS Code | API Interceptor | Videos | Screenshots | Retries | Mocha | Mochawesome Reports | Design Pattern (Page Object Model) | Tagging | Remote - BrowserStack | CI/CD - Circle CI, Gitlab
api-interceptor automation-testing browserstack cypress javascript mocha mochawesome page-object-model tagging vscode
Last synced: 10 Apr 2025
https://github.com/bahmutov/focha
Mocha wrapper that runs previously failed tests first
Last synced: 18 Jan 2025
https://github.com/ltfschoen/solidity_test
Smart Contracts using Solidity, Truffle, and Ethereum TestRPC, Mocha
mocha shell-script solidity-contracts truffle-framework
Last synced: 18 Apr 2025
https://github.com/Alexoid1/Super-heroes
SuperHeroes is a web application that shows stats about All SuperHeroes and Villains from all universes. Built with React and Redux and fetches data from a standard API and FirebaseStore also authenticate users with Google and Facebook, the user can add Heroes and upload images.
chai css3 firebase mocha puppeteer react redux super-heroes
Last synced: 14 Mar 2025
https://github.com/ebazhanov/cypress-image-screenshot-comparison
screenshot comparison + Cypress + Mochawesome report + CircleCI
circleci cypress cypress-visual-regression mocha mochawesome screenshot screenshot-comparison screenshot-testing snapshot-testing visual-regression-testing
Last synced: 11 Apr 2025
https://github.com/twisterghost/react-mocha-jsdom-example
An example of how to use Mocha and JSDOM to quickly test React components. Alternatively, use https://facebook.github.io/jest/
Last synced: 28 Apr 2025
https://github.com/clementreiffers/travelling-salesman-problem
Travelling Salesman Problem system in JavaScript with Functional Programming
chai gulp gulpjs javascript mocha mocha-chai mocha-tests mochajs node node-js nodejs prettier ramda ramdajs travelling-salesman-problem tsp tsp-problem tsp-solver
Last synced: 10 Feb 2025
https://github.com/rtvision/mocha-esbuild
Run tests with mocha compiled by esbuild
Last synced: 13 Apr 2025
https://github.com/codebrahma/nodejs-backend-boilerplate
Node.js Backend boilerplate for rest apis with google oauth authentication
chai circleci codecov dotenv factory-girl google-oauth2 mocha mvc nock postgresql rest-api sentry sequelize sinon vcr
Last synced: 04 Dec 2024
https://github.com/alexoid1/super-heroes
SuperHeroes is a web application that shows stats about All SuperHeroes and Villains from all universes. Built with React and Redux and fetches data from a standard API and FirebaseStore also authenticate users with Google and Facebook, the user can add Heroes and upload images.
chai css3 firebase mocha puppeteer react redux super-heroes
Last synced: 24 Apr 2025
https://github.com/sridharbandi/selenium-javascript-getting-started-examples
Selenium Javascript Getting Started Examples (Starter Templates)
cucumber es6 jasmine mocha nightwatchjs page-object-model protractor selenium-webdriver webdriverjs
Last synced: 13 Feb 2025
https://github.com/falkirks/folder-test
Create many mocha tests from JSON files within a folder (part of CPSC 310)
Last synced: 24 Apr 2025
https://github.com/acucciniello/hacker-news-skill
An Amazon Alexa Skill that will give you the newest hacker news article titles from YCombinator
amazon amazon-alexa-skill amazon-echo bespoken-tools chai hacker-news mocha nodejs travis-ci ycombinator
Last synced: 23 Nov 2024
https://github.com/luizcalaca/ddd-bdd-mongodb-impl
Domaing Driven Design (DDD) + BDD (Behavior Driven Development) + MongoDB implementation + Actions CI/CD (QA)
behavior-driven-development chai clean-architecture crud domain-driven-design github-actions mocha mongodb oriented-object-programming pipeline-deploy qa-automation sinon tdd ts-node ts-node-dev ts-sinon typescript
Last synced: 12 Apr 2025
https://github.com/xJREB/skeleton-express-typescript
A skeleton project with Express.js, TypeScript, Mocha, and Chai.
chai expressjs mocha typescript
Last synced: 11 Mar 2025
https://github.com/mrusme/kopi
Command-line (CLI) coffee journal designed for coffee enthusiasts.
aeropress brewing cli coffee command-line command-line-tool espresso habit-tracking journal mocha tracker tui
Last synced: 13 May 2025
https://github.com/jitendragangwar123/full-stack-blockchain-development-roadmap
This repository serves as a comprehensive roadmap for Full-Stack Ethereum Blockchain Development, suitable for individuals ranging from beginners to advanced developers. It provides a structured guide that covers various aspects of Ethereum blockchain development.
blockchain-technology chai chainlink dapps ethereum etherjs ganache graphql hardhat javascript mocha nextjs reactjs smart-contract-testing solidty truffle typescript web3 web3js
Last synced: 11 Apr 2025
https://github.com/rfrench/chai-uuid
Chai plugin for performing assertions on UUIDs
assertions bdd chai guid javascript mocha tdd uuid
Last synced: 12 Feb 2025
https://github.com/testdeck/testdeck-mocha-seed
testdeck seed for the mocha test framework
mocha test testdeck typescript
Last synced: 15 Apr 2025
https://github.com/scriptnull/mocha-github-reporter
Delivering mocha results from CI to Github. 📋
continuous-integration github mocha mocha-reporter tdd
Last synced: 19 Apr 2025
https://github.com/bradydowling/mocha-in-browser
Running Mocha tests directly in the browser
javascript mocha mochajs testing
Last synced: 20 Jan 2025
https://github.com/natural-intelligence/docker-compose-mocha
A tool used to create an isolated environment for services which are Docker-ized based on services found inside a given docker-compose.yml file when running Docker Compose tool.
automation chai ci docker docker-compose mocha testing
Last synced: 14 Apr 2025
https://github.com/whenubelieve/nextjs-express-boilerplate-typescript
While evaluating next.js for building apps I wanted a starting point that included an Express server for the API and Typescript as the primary language instead of Javascript. This project is the boilerplate for that app.
app boilderplate express mocha next nextjs typescript
Last synced: 09 Apr 2025
https://github.com/deadcoder0904/datastructure-in-js
Data Structures Practice in JS with Testing in Mocha & Chai :heart_eyes:
chai datastructures datastructures-in-javascript datastructures-in-js ds ds-in-js javascript mocha
Last synced: 11 Apr 2025
https://github.com/goldenbearkin/typescript-library-boilerplate
A tree-shakable typeScript library boilerplate
Last synced: 13 Apr 2025
https://github.com/kirill3333/nodejs_unit_tests_example
Create this example for question from https://stackoverflow.com/questions/38190712/how-to-unit-test-a-node-api-using-sinon-express-with-mongo-db
istanbul mocha nodejs sinon unittesting
Last synced: 04 Dec 2024
https://github.com/mvasilkov/smol
A JavaScript test runner. Like Mocha but smol.
javascript mocha no-dependencies smol test
Last synced: 16 Apr 2025
https://github.com/daniellockyer/mocha-github-actions-reporter
Custom reporter for Mocha which outputs Github Actions annotations
Last synced: 16 Mar 2025
https://github.com/sbolel/express-pug-starter
Starter Node.js server with Express.js, Pug, scss, Mocha, Standard, eslint, and Contentful for CMS
circleci cms contentful example express expressjs mocha nodejs pug sass scss starter-app starter-kit
Last synced: 21 Jan 2025
https://github.com/posva/mocha-css
A mocha stylesheet for the HTML reporter that let you append visual tests
browser css mocha test visual-testing
Last synced: 05 Jan 2025
https://github.com/arranbartish/angular-cli-seed
angular2 with angular-cli
angular-cli angular2 chai http mocha ngrx ngrx-effects route-guards seed-app sinon travis-ci wallaby
Last synced: 11 Feb 2025
https://github.com/fluidtrends/savor
Make your Node Typescript unit testing a piece of cake.
bdd chai instabuljs javascript mocha nodejs nyc sinon tdd typescript unit-testing
Last synced: 12 Apr 2025
https://github.com/tariqulislam/puppeteer-mocha-automated-testing
Automated the Testing using Puppeteer, Mocha, chai. For example we can use linkidin account and few functionality to automated the testing
assertion-library chai chrome-devtools chromium mocha mocha-tests nodejs puppeteer
Last synced: 12 Apr 2025
https://github.com/funbox/frontend-tests-runner
A library for running Mocha tests in parallel
Last synced: 21 Nov 2024
https://github.com/digipie/mongo-action
Github action to create a Docker container from the official mongo image.
chai expressjs github-actions mocha mongo mongo-action mongodb mongoose nodejs test-automation
Last synced: 08 May 2025
https://github.com/ajb413/pubnub-functions-mock
Mocks PubNub Functions modules for event handler unit testing
chai javascript mocha nodejs pubnub pubnub-functions serverless unit-testing
Last synced: 28 Apr 2025
https://github.com/atsistemas/angularjs-base
Angular based development platform
angular angularjs browserify chai gulp karma mocha
Last synced: 21 Apr 2025
https://github.com/sarut0bi/playdrums
Playwright wrapper with :heart: taiko syntax
end-to-end-testing gauge jest mocha playwright taiko wip
Last synced: 15 Feb 2025
https://github.com/onuar/ts-boilerplate
typescript, nodemon, mocha, sinon, chai, tslint, vscode. all in one!
boilerplate chai debug debuggable mocha nodemon sinon typescript vscode
Last synced: 19 Apr 2025
https://github.com/asvetliakov/run-current-test
VSCode Run current test extension
ava jest mocha tdd tdd-workflow testing vscode vscode-extension
Last synced: 14 Feb 2025
https://github.com/dword-design/mock-argv
Temporarily overrides the command line arguments. This is useful for testing.
args argument-parser arguments argv cli command-line command-line-tool coverage javascript jest mocha mock node nodejs npm npm-package replace restore test testing
Last synced: 16 Mar 2025
https://github.com/hxlnt/typescript-slim-starter
💪 A trim, framework-free starter for Typescript apps and tests
Last synced: 13 Jan 2025
https://github.com/murrayee/react-cnode
cnode论坛
eslint mocha mochajs react react-redux react-router webpack
Last synced: 10 Feb 2025
https://github.com/js-devtools/karma-host-environment
Access host info (OS, browser version, environment variables) in browser tests
browser environment-variables javascript karma karma-plugin mocha nodejs qunit tape testing universal-javascript user-agent
Last synced: 10 Feb 2025
https://github.com/cades/respec-given
rspec-given on mocha
bdd given given-when-then javascript javascript-library mocha mochajs rspec tdd test-driven-development test-framework
Last synced: 10 Feb 2025
https://github.com/alhadis/atom-mocha
Mocha/Chai test-runner for Atom projects.
atom atom-mocha bdd chai mocha
Last synced: 11 Apr 2025
https://github.com/jasonetco/test-selector
🎭👈 Prompts the user to run specific test suites in a project.
cli mocha npm-scripts suite test test-selector test-suite testing
Last synced: 12 May 2025
https://github.com/codewithmmak/mocha-chai-typescript
This is sample Test Automation framework designed using Mocha, Chai and TypeScript
bdd-framework chai chai-typescript mocha mochawesome typescript typescript-test visual-studio
Last synced: 23 Nov 2024
https://github.com/t-sauer/mocha-tslint
Run TSLint as mocha tests
mocha mocha-tslint tslint typescript
Last synced: 06 May 2025
https://github.com/m-sureshraj/mocha-watch-typeahead
👁️ Interactive watch mode support for the Mocha test framework.
cli mocha testing-tools typeahead
Last synced: 20 Mar 2025
https://github.com/thiagoluiznunes/mock-user-auth
Mock-User-Auth is a mock user authentication API developed in Nodejs and Express using JWT as authenticator using the ES6 version of JavaScript.
api-server authentication babel chai codeclimate continuous-integration coverage express istanbul jwt maintenance mocha mock-server mockup nodejs nyc quality tdd travis-ci
Last synced: 13 Apr 2025
https://github.com/d4nyll/hobnob
Code bundle to accompany the book Building Enterprise JavaScript Applications (BEJA), published by Packt
cucumber docker javascript jenkins kubernetes mocha nodejs
Last synced: 12 Apr 2025
https://github.com/recursivelogic/react-redux-boilerplate
React / Redux / CSS Modules / Enzyme / Mocha / Chai Boilerplate
boilerplate chai css css-modules enzyme mocha react redux unit-testing webpack
Last synced: 13 Apr 2025
https://github.com/amanda-gomes/valid-cpf-lib
Biblioteca publicada no npm que valida número de CPF. Desenvolvimento guiado por testes (TDD).
chai eslint javascript mocha nodejs nyc tdd wallaby
Last synced: 13 May 2025
https://github.com/jamesgeorge007/election-dapp
This is a D-App (De-centralised application) on top of Ethereum Blockchain which eases the task of conducting elections :smile:
blockchain blockchain-technology chai chai-assertions dapp decentralized-applications jquery lite-server mocha smart-contracts solidity truffle-framework
Last synced: 22 Apr 2025
https://github.com/js-test-gen/js-test-gen
Generating js test templates with a little help from babel & prettier :vhs:
babel jest js js-templates mocha prettier unit-testing
Last synced: 15 Jan 2025
https://github.com/localvoid/karma-mocha-snapshot
Karma plugin for snapshot testing with Mocha and Chai
Last synced: 11 Apr 2025
https://github.com/eddyerburgh/vue-test-utils-mocha-example
An example vue-test-utils project with mocha
Last synced: 14 Apr 2025
https://github.com/netpoint-gmbh/mochaterial
ES6 Browser Reporter for Mocha.js
browser es6 mocha mocha-reporter mochajs reporter
Last synced: 10 Feb 2025
https://github.com/sskorol/mocha-allure2-reporter
Allure 2 reporter for Mocha framework
allure mocha mocha-typescript typescript
Last synced: 10 Apr 2025
https://github.com/akosyakov/ts-mocha-debugging
Simple TypeScript setup to debug Mocha tests from VS Code
gitpod mocha ts-node typescript vscode
Last synced: 18 Mar 2025