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/tsoliangwu0130/chat-room
A real-time chat room web application built with socket.io and Node.js.
chat-room docker es6 express javascript mocha nodejs socket-io
Last synced: 26 Apr 2025
https://github.com/nour-karoui/eth-todo-list
a small to do list built on the blockchain and powered by smart contracts
blockchain ethereum ganache javascript metamask mocha smart-contracts solidity truffle truffle-framework vanilla-javascript
Last synced: 25 Apr 2025
https://github.com/charlesstover/react-rainbow-text
Generates rainbow-colored text in React.
babel babeljs enzyme es6 javascript jest js mocha npm npm-module npm-package npmjs react react-component reactjs travis travis-ci travisci webpack
Last synced: 22 Jan 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
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/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/khilnani/template-express-jade-less
Template for Express, Jade, Less, Coffee, Handlebars, Gulp
coffeescript css expressjs gulp handlebars jade javascript mocha nodejs scaffolding template
Last synced: 02 Dec 2024
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: 11 Mar 2025
https://github.com/fabiozil/baseexpressapp
Base Express Repository with high quality software development integrations such as TypeScript, Logging, Standard Responses, Test Suite, API and code docs and more!
chai express instanbuljs mocha nodejs nodemon pinojs sinon sinonjs swagg swagger-ui tsdoc typedoc typescript
Last synced: 10 Feb 2025
https://github.com/plasticrake/mocha-json-serialize-reporter
A comprehensive JSON reporter for Mocha.js
Last synced: 10 Apr 2025
https://github.com/dword-design/expect-mocha-image-snapshot
A wrapper around jest-image-snapshot that makes it compatible to Mocha.
expect frontend javascript jest jest-image-snapshot mocha puppeteer snapshot-testing test-driven-development testing webdevelopment
Last synced: 10 Apr 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/zaiste/async-await-mocha-chai-example
An example of using async/await syntax with Mocha & Chai
async-await chai mocha nodejs testing
Last synced: 17 Mar 2025
https://github.com/bahmutov/subset-shot
Snapshot testing where new value can be a superset of the saved snapshot
ava jest mocha node nodejs qunit snapshot snapshot-testing subset
Last synced: 18 Jan 2025
https://github.com/omichelsen/boilerplate-lib
Boilerplate for writing a TypeScript based library using Mocha
Last synced: 19 Mar 2025
https://github.com/zambezi/mocha-headless-chrome
Run Mocha tests using headless Google Chrome
headless headless-chrome mocha
Last synced: 15 Dec 2024
https://github.com/dword-design/jest-image-matcher
A Jest matcher for image comparisons based on pixelmatch. Can also be used with Mocha. Useful for visual regression testing.
assert compare comparison expect extend image jest match matcher mocha regression visual
Last synced: 10 Feb 2025
https://github.com/sanketmaru/device-tracker
Device Tracker
angular2 express javascript jwt-authentication mocha nodejs redis socket tachyons tachyons-css
Last synced: 12 Apr 2025
https://github.com/denisecaze/dc-card-validator-lib
Laboratoria Bootcamp - Sprint 4 (final product) - a library designed to validate credit cards using Mocha, Chai and NYC to perform unit tests
chai css3 html5 javascript lodash mocha nyc
Last synced: 18 Mar 2025
https://github.com/andrewjo/mocha-slonik
Slonik transaction support for Mocha test framework ☕️🐘
mocha mocha-plugin mochajs mock postgres postgresql slonik testing transaction
Last synced: 10 Feb 2025
https://github.com/littleboycoding/solana-test-validator-js
Spin-up solana-test-validator instance in JavaScript
javascript mocha solana test typescript
Last synced: 16 May 2025
https://github.com/tristandunn/untitled
A base Rails application to kickstart new projects.
brakeman cd ci github-actions hotwire kamal mocha rails rspec rubocop ruby stimulusjs tailwindcss template turbo turbo-rails
Last synced: 13 May 2025
https://github.com/marcomontalbano/html-miner
A powerful miner that will scrape html pages for you. ` HTML Scraper ´
coverage html-scraper istanbul mocha nodejs npm-package nyc scraper
Last synced: 16 Apr 2025
https://github.com/radioaktive/codeforces-nodejs-js-solutions
codeforces.com nodejs and javascript solutions with Mocha and Chai in browser tests.
codeforces competitive-programming javascript mocha mocha-chai mocha-tests nodejs
Last synced: 31 Mar 2025
https://github.com/db-developer/grunt-nyc-mocha
run mocha tests and generate coverage reports with nyc
coverage grunt javascript mocha nyc plugin testing
Last synced: 23 Nov 2024
https://github.com/acucciniello/life-insurance-pricing-estimator
A pricing engine that prints out the estimated policy price for a given person - for PolicyGenius
build-automation buildkite chai mocha nodejs standard
Last synced: 23 Nov 2024
https://github.com/barbarbar338/ts-starter-template
✨ My TypeScript Starter Template
cd chai ci cicd continuous-deployment continuous-integration mocha starter-template template ts tsc tslint typescript typescript-starter-template
Last synced: 05 Jan 2025
https://github.com/charlesstover/mssql-query-builder
Dynamically build Microsoft SQL Server queries using JavaScript.
chai es6 javascript js mocha mssql node nodejs npm npm-module npm-package npmjs sql sql-server sqlserver travis travis-ci travisci ts typescript
Last synced: 20 Jan 2025
https://github.com/lambdatest/test-at-scale-js
Javascript test runner plugin for Test at Scale
jasmine javascript jest lambdatest mocha smart-test test-at-scale test-inteliigence test-subset unit-tests
Last synced: 04 Dec 2024
https://github.com/e2e-boilerplate/playwright-es-modules-esm-mocha-assert
Playwright end-to-end test automation boilerplate, using ES6 Modules, ESM, Mocha and Assert.
assert e2e-test e2e-testing e2e-tests es6 esm mocha playwright
Last synced: 30 Apr 2025
https://github.com/nmuldavin/chai-almost
Extends Chai with assertions that allow for floating point rounding errors
approximation assertion-library assertions chai chai-assertions chai-plugin deep-equals javascript mocha rounding-error testing testing-tools
Last synced: 26 Apr 2025
https://github.com/cmsrs/checkers
Checkers with computer, checkers online, javascript html game
ai artificial-intelligence checker game html5 javascript mocha nodejs
Last synced: 15 Dec 2024
https://github.com/fernandohenriques/desafio-mangabadigital
A sample React App written with Styled Components and Atomic Design.
atomic-design babel mocha reactjs styledcomponents webpack
Last synced: 13 Feb 2025
https://github.com/boneskull/intro-to-mocha
Slide deck for "Intro to Mocha" talk
integration-testing mocha mochajs presentation reveal-js slides testing testing-framework tutorial unit-testing
Last synced: 09 Apr 2025
https://github.com/blaugold/webpack-mocha-plugin
Webpack plugin integration with mocha testing framework + coverage with istanbul.
coverage istanbul mocha webpack-plugin
Last synced: 22 Apr 2025
https://github.com/codewithmmak/webdriverio-mocha-chai-javascript
This is sample Test Automation framework designed using WebdriverIO, Mocha, Chai and Javascript. And in this framework we will see some basic working examples for learning.
chai javascript mocha test-automation webdriverio webdriverio-boilerplate-framework
Last synced: 23 Nov 2024
https://github.com/localvoid/chai-karma-snapshot
Chai Plugin for Snapshot Testing with Karma
Last synced: 11 Apr 2025
https://github.com/center-key/puppeteer-browser-ready
🐕🦺 Simple utility to go to a URL and wait for the HTTP response
browser http javascript mocha puppeteer ready response url
Last synced: 22 Apr 2025
https://github.com/shimohq/mocha2ava-codemod
codemod for mocha tests
ava code jscodeshift migration mocha
Last synced: 05 Apr 2025
https://github.com/serenity-js/tutorial-cross-app-testing
angular bdd demo mocha protractor screenplay-pattern serenity-js tutorial
Last synced: 11 Jun 2025
https://github.com/kawakamimoeki/prisma-cleaner
Prisma Cleaner is a utility for cleaning database with Prisma in testing. You can use in Jest or Mocha, etc.
database jest-test mocha postgresql prisma
Last synced: 21 Apr 2025
https://github.com/sadabnepal/webdriverio-js-mocha
Mocha framework using WebdriverO, JavaScript, Allure Report to test Automation Practice application
allure-report chai javascript mocha mocha-chai mocha-framework nodejs wdio wdio7-typescript-mocha webdriverio webdriverio-boilerplate-framework webdriverio-framework webdriverio-service
Last synced: 20 Nov 2024
https://github.com/mhweiner/kizu
An easy-to-use, fast, and defensive Typescript/Javascript test runner designed to help you to write simple, readable, and maintainable tests.
ava jasmine jest jest-testing jest-tests mocha mocha-typescript mochajs test testing typescript unit unit-testing vitest vitest-ts
Last synced: 10 Jun 2025
https://github.com/sanmak/queue-web-crawler
This application is developed to crawl a website with queue that determines no of allowed concurrent connections and find all possible hyperlinks present within it and save it to CSV file.
async chai crawler csv hyperlinks mocha nodejs queue scrapper web
Last synced: 19 Apr 2025
https://github.com/venkatperi/bench-runner
benchmark.js runner for Node.js like mocha.
Last synced: 17 Mar 2025
https://github.com/sz-piotr/veryfine
A delightful expect-style assertion and mocking library
javascript mocha mocking testing typescript
Last synced: 04 Apr 2025
https://github.com/edgi9/inbox-app-web3
First Web3 project consisting of updating a message on the blockchain
blockchain-technology javascript mocha nodejs smart-contracts solidity web3
Last synced: 11 Mar 2025
https://github.com/softspiders/mongodb-crud-testing
mongodb-tdd-crud in Node.js
crud db integration javascript js mocha mongodb mongoose node nodejs nodemon nosql persistense softspider ss starter tdd template test unit
Last synced: 12 Apr 2025
https://github.com/denismurphy/emulating-associated-value-enums-typescript
Emulating Associated Value Enums in TypeScript
associated-values chai educational interface mocha npm swift types typescript union
Last synced: 17 Jun 2025
https://github.com/cagriaydin/lottery-smartcontract
Join the lottery and get the chance to win prizes from the ether pool!
ethereum ganache-cli mocha smart-contract solidity web3
Last synced: 21 Feb 2025
https://github.com/sam-parsons/babel-plugin-comparison-chaining
contiguous multi-type linear comparison chaining
Last synced: 20 Nov 2024
https://github.com/marvinhagemeister/chai-snapshot-tests
Jest-like snapshot testing for chai
chai chaijs jest mocha snapshot snapshot-testing
Last synced: 12 Apr 2025
https://github.com/applitools/example-selenium-javascript-mocha-classic
About Applitools Example: Selenium JavaScript Mocha with the Classic Runner
applitools applitools-example applitools-eyes applitools-tutorial javascript mocha selenium selenium-javascript selenium-webdriver test-automation visual-testing
Last synced: 15 Apr 2025
https://github.com/iana-neri22/cpf-validator
Biblioteca Javascript para validar CPF-Validator
chai cpf-validador javascript mocha npm nyc
Last synced: 10 Mar 2025
https://github.com/smartprix/pm2-ci
This is a PM2 module to do CI tasks like deploy, run tests, and send slack messages in response to a webhook.
ci githook github mocha node nodejs pm2 pm2-module webhook
Last synced: 11 Apr 2025
https://github.com/nareshnavinash/webdriverio-mocha-chai-framework
Framework for web browser automation using webdriverio, mocha, and chai in Page Object Model. For reporting allure is adapted. Public-Private key RSA encryption for passwords stored in Repo.
allure chai circleci javascript mocha page-object-framework rsa-encryption webdriverio
Last synced: 09 Apr 2025
https://github.com/sridharbandi/selenium-webdriverjs-mocha-template
Selenium WebdriverJS & Mocha Example
chai mocha nodejs page-object-model selenium selenium-webdriver webdriverjs
Last synced: 11 Apr 2025
https://github.com/sridharbandi/puppeteer-mocha-template
Puppeteer & Mocha Example
es6 mocha nodejs page-object-model puppeteer
Last synced: 11 Apr 2025
https://github.com/moekiorg/prisma-cleaner
Prisma Cleaner is a utility for cleaning database with Prisma in testing. You can use in Jest or Mocha, etc.
database jest-test mocha postgresql prisma
Last synced: 05 Apr 2025
https://github.com/zcemycl/algotest
Solving algorithm problems with C++ (Cmake,gtest), C# (dotnet,xunit), Py (pip,pytest), Js (NodeJS,mocha), bash scripts and github actions, under Win10/OSX/Ubuntu.
algorithms cmake cpp csharp dotnet github-actions googletest javascript leetcode macosx makefile mocha nodejs pip pytest python3 ubuntu unit-testing win2019 xunit
Last synced: 24 Apr 2025
https://github.com/gutchom/env-react-typescript
My front-end development environment.
cssnext environment front-end-development karma mocha postcss power-assert pug react typescript
Last synced: 21 Mar 2025
https://github.com/StephenDoyle10/UK-Salary-Calculator
Front-end. Interactive JavaScript on this project enables one to input their salary to find out what their take home pay is, and how much in income tax and national insurance they are deducted.
algorithm bootstrap css html javascript mocha
Last synced: 11 Mar 2025
https://github.com/lazhari/graphql-blog
GraphQL Blog using Node.js, Express and MongoDB.
chai chai-http coveralls graphql graphql-js graphql-schema graphql-server mocha mongodb mongoose mutations nyc
Last synced: 15 Mar 2025
https://github.com/Lazhari/graphql-blog
GraphQL Blog using Node.js, Express and MongoDB.
chai chai-http coveralls graphql graphql-js graphql-schema graphql-server mocha mongodb mongoose mutations nyc
Last synced: 11 Mar 2025
https://github.com/nus-mtp/steps-networking-module
Networking platform for NUS Students and Companies
bootstrap4 css3 es6-javascript expressjs gulp html5 mocha mongodb reactjs webpack
Last synced: 11 Mar 2025
https://github.com/nodaguti/gulp-electron-mocha
Run client-side Mocha tests in Electron
electron electron-mocha gulp-plugin mocha
Last synced: 16 Jun 2025
https://github.com/muhammadhasham23/video2image
A wrapper on FFmpeg to convert a video to images
bash bash-script chalk ffmpeg javascript linux mocha node nodejs
Last synced: 23 Feb 2025
https://github.com/rajatt95/cypress_js_2
Automation Testing | Web+API | Cypress | Javascript | VS Code | Videos | Screenshots | Mocha | Variables and Aliases | Assertions Chaining | Parameterization using Fixtures | Keyboard simulations | Read/Write JSON/Text files | Hooks | Cookies | Local Storage | Tests execution in Docker Containers
automation-testing cypress hooks javascript mocha page-object-model read-write-file
Last synced: 02 Feb 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: 11 Mar 2025
https://github.com/sadabnepal/webdriverioappiummochajs
Mobile Test framework using WebdriverIO and Appium with mocha framework
appium mobile-testing mocha webdriverio webdriverio-boilerplate-framework
Last synced: 14 Mar 2025
https://github.com/codewithmmak/api-testing-axios-mocha-chai-javascript
This is sample REST API Automation framework designed using Axios, Mocha, Chai, and JavaScript
api-testing-framework axios-http chai fakerjs javascript mocha mocha-chai mochawesome properties-reader rimraf
Last synced: 23 Nov 2024
https://github.com/sanmak/sumo-queue
Queue Data Structure Implementation. Use it for large arrays.
array arrays chai complexity complexity-analysis data-structures javascript mocha mocha-chai queue queue-algorithm queues
Last synced: 05 Apr 2025
https://github.com/salespaulo/ps-users-api
A sample Node.js Restfull API using Restify.js, CouchDB, Docker, Functional Programming, Google Login, Facebook Login...
api couchdb docker facebook-login google-login grunt jwt mocha nano nodejs promise restfull restifyjs supertest typescript
Last synced: 27 Mar 2025
https://github.com/jdforsythe/typescript-npm-starter
A repository to get you working immediately on an npm module using Typescript
mocha modules npm starter starter-kit starter-project typescript
Last synced: 22 Apr 2025
https://github.com/and93/e2emobile
JavaScript (TypeScript) - NodeJs - Mocha - Webdriver.io - Appium
appium mocha nodejs typescript webdriverio
Last synced: 01 Apr 2025
https://github.com/mrdulin/mongoose-codelab
Learning Mongoose with Node.js by examples
chai database db lodash mocha mongodb mongoosejs nodejs sinon sinonjs unit-testing
Last synced: 02 Mar 2025
https://github.com/checkly/browser-checks-starter
Examples and scripts accompanying the getting started docs on writing browser checks
checkly javascript mocha puppeteer
Last synced: 05 Mar 2025
https://github.com/zoltan-nz/toy-robot-typescript
TypeScript project for beginners...
mocha toy-robot tutorial typescript
Last synced: 21 Nov 2024
https://github.com/plasticrake/mocha-json-runner
A Mocha.js runner that replays from JSON input
Last synced: 10 Mar 2025