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-05-30 00:19:06 UTC
- JSON Representation
https://github.com/mtfranchetto/generator-smild
An opinionated generator to build JavaScript projects
jest mocha parcel-bundler typescript yeoman
Last synced: 15 Mar 2025
https://github.com/fakiolinho/javascript-unit-tests-playground
This is a playground so i can run some javascript unit tests fast
babel es6 javascript jest mocha tape testing unit-testing
Last synced: 29 Mar 2025
https://github.com/charlesstover/react-object-prop
Caches Object props in React so as to prevent unnecessary re-rendering.
babel babeljs cache caching es6 javascript js memoization memoize mocha npm npm-module npm-package react reactjs travis travis-ci travisci webpack
Last synced: 22 Jan 2025
https://github.com/hananurrehman/appiumpractice
I created this project for some PoC and R&D into my Appium journey (I have some more detailed projects planned on this topic)
appium appium-android axios chai ecommerce-application js mocha typescript vanilla-javascript webdriverio
Last synced: 17 Feb 2025
https://github.com/charlesstover/hsl2rgb-js
Convert HSL to RGB.
babel babeljs color colors es6 hsl javascript js mocha npm npm-module npm-package npmjs rgb travis travis-ci travisci webpack
Last synced: 22 Jan 2025
https://github.com/rpeshkov/vscode-coverage-test-runner
Test runner for VSCode with coverage support
coverage istanbul mocha vscode
Last synced: 02 Apr 2025
https://github.com/justnme/book-store
Private bookstore side project
bookstore chai express handlebars javascript mocha multer nodejs nodemailer quill sequelize sqllite3
Last synced: 27 Mar 2025
https://github.com/graduta/webui-workshop
WebUI - Workshop 2020: Frontend, Backend, Development Process
github-action hyperscript istanbuljs mocha nodejs puppeteer sinonjs workshop
Last synced: 12 Apr 2025
https://github.com/luizcalaca/tdd-bdd-typescript
Using TDD and BDD to build an API with mocha, chai and sinon
bdd chai clean-architecture domain-driven-design mocha sinon tdd ts-sinon typescript unittest
Last synced: 20 Mar 2025
https://github.com/evilamaior/card-validator-evm
Biblioteca criada para validar números de Cartões de Crédito.
es6 eslint javascript mocha nodejs npm nyc tdd tdd-javascript
Last synced: 14 Mar 2025
https://github.com/mortuie/freecodecamp
All the projects I have made following the FreeCodeCamp.com curriculum.
css d3 express expressjs freecodecamp freecodecamp-curriculum frontend hacktoberfest html javascript js mocha nodejs react reactjs
Last synced: 02 Mar 2025
https://github.com/sridharbandi/nightmare-mocha-template
Nightmare Mocha Example with Page Object Model
chai mocha nightmarejs nodejs page-object-model
Last synced: 04 Mar 2025
https://github.com/e2e-boilerplate/playwright-commonjs-mocha-assert
Playwright end-to-end test automation boilerplate project. Using CommonJS, Mocha and assert.
assert commonjs e2e-test e2e-testing e2e-tests mocha playwright
Last synced: 30 Apr 2025
https://github.com/ijlee2/tutorials
Collection of tutorials for web development
angular chai ember mocha react-native react-vr redux threejs vue
Last synced: 27 Mar 2025
https://github.com/e2e-boilerplate/selenium-webdriver-es-modules-esm-mocha-chai
selenium-webdriver end-to-end test automation boilerplate project. Using ES6 modules, ESM, mocha and chai.
chai es6 esm mocha selenium-webdriver
Last synced: 30 Apr 2025
https://github.com/jaktestowac/performance-test-playwright-rest-api-vs-mocha-supertest
This repository compares the performance of Playwright and Mocha with SuperTest for REST API testing
chai javascript mocha performance performance-analysis playwright supertest
Last synced: 14 May 2025
https://github.com/tommywalkie/vite-register
Use Vite env variables inside Node scripts and test runners via a require hook.
dotenv import-meta mocha require-hook test uvu vite
Last synced: 06 Dec 2024
https://github.com/e2e-boilerplate/webdriverio-typescript-ts-node-mocha-chai-expect
WebdriverIO end-to-end test automation boilerplate, using TypeScript, ts-node, Mocha and Chai
chai es6 mocha node-mocha-chai sync typescript webdriverio webdriverio-typescript
Last synced: 30 Apr 2025
https://github.com/hossamhilal/generator-venv
Generator Venv is A Generator To Create Simple Vue Environment like Vue cli Using Yeoman Generator
axios generator generator-venv grunt gulp hossam-hilal javascript mocha npm npm-package store typescript vue vue-cli vue-router vuejs vuex webpack yarn yeoman
Last synced: 03 Mar 2025
https://github.com/sombriks/simple-knex-koa-example
sample application touring API, tests, continuous integration, continuous deployments, image publishing and so on
argocd docker docker-compose dotenv-flow github-actions gitops knex koa kubernetes migrations mocha node sinon sqlite
Last synced: 21 Mar 2025
https://github.com/zehracakir/mekanbul
Mekanbul, insanların konumları civarındaki mekanları, sunduğu imkanları görmelerini, mekanlara yorum yapabilmelerini sağlayan bir web uygulamasıdır.
api axios axios-rest chai expressjs jwt-authentication jwt-token mekanbul mern mern-stack mocha mongodb mongoose mvc nodejs pasports pugjs rest-api restapi supertest
Last synced: 14 May 2025
https://github.com/shaunbennett/mineplex-api
TypeScript/JavaScript client for the Mineplex API
api minecraft mineplex mineplex-api mocha typescript
Last synced: 17 Mar 2025
https://github.com/kirill3333/jsnn_6
Slides for JSNN #6 NodeJS Unit testing
chai istanbul mocha nodejs sinon unit-testing
Last synced: 26 Mar 2025
https://github.com/jmr85/reactwebdriverio
Testing for React Native Android using Mocha, Webdriver.io client and Appium
appium javascript mocha react-native webdriverio
Last synced: 05 Mar 2025
https://github.com/piotrostr/plug
NestJS GraphQL API to deployed aside other micro-services and serve as a bridge.
docker docker-compose graphql mocha nestjs
Last synced: 21 Feb 2025
https://github.com/andrewsosa/destiny2api
Wrapper for Destiny 2's JSON API; use this to look up raid challenges each week
destiny2 destiny2api eslint javascript mocha
Last synced: 10 Apr 2025
https://github.com/cagriaydin/simplesmartcontract
Here is the simple Smart Contract for basic requirements.
ethereum ganache-cli mocha rinkeby smart-contract solidity web3
Last synced: 21 Feb 2025
https://github.com/mikeludemann/web-automation-testing
Web Automation Testing with JavaScript, Selenium and more
chai chromedriver e2e-tests firefoxdriver geckodriver javascript mocha selenium selenium-webdriver test-automation unit-test web-automation
Last synced: 28 Mar 2025
https://github.com/igorskyflyer/npm-zep
🧠 Zep is a zero-dependency, efficient debounce module. ⏰
back-end debounce debouncer igorskyflyer javascript mocha module node nodejs npm timeout zep
Last synced: 08 Mar 2025
https://github.com/aoepeople/ts-node-foundation
A basic micro service blueprint written in TypeScript transpiled on the fly for the node.js runtime. Also unit tests and coverage reports are enabled to keep quality and angibility transparency as high as possible.
chai express microservices mocha nodejs ts-node typescript
Last synced: 18 Feb 2025
https://github.com/sridharbandi/non-selenium-javascript-getting-started-examples
Non Selenium Javascript Getting Started Examples (Starter Templates)
cucumber es6 jasmine mocha nightmarejs page-object-model puppeteer testcafe
Last synced: 04 Mar 2025
https://github.com/johnapache/mocha-usage-doc
基于Mocha的 测试框架体系搭建
chai istanbul mocha mochawesome nyc
Last synced: 26 Mar 2025
https://github.com/dereke/monkey-news
It is like hacker news - but for monkeys
browser-monkey express hyperdom karma mocha vinehill
Last synced: 12 Mar 2025
https://github.com/nanoninja/quiz-api-express-typeorm
Modern Node API With TypeScript, Express and TypeORM
api chai expressjs mocha nodejs typeorm typeorm-fixtures typescript
Last synced: 08 Apr 2025
https://github.com/yusufshakeel/mocha-chai-project
This is a sample Mocha Chai testing project.
chai chaijs javascript mocha mocha-chai mocha-tests mochajs testing
Last synced: 10 Feb 2025
https://github.com/alfianandinugraha/first-mocha
Learn Mocha with Sinon.js and Chai.js for Test-Driven Development 🧪
chai example learning mocha sinon test-driven-development ttd
Last synced: 01 Apr 2025
https://github.com/iana-neri22/card-validator
javascript javascript-library mocha mocha-chai mocha-tests nyc
Last synced: 14 May 2025
https://github.com/e2e-boilerplate/selenium-webdriver-es-modules-babel-mocha-chai-assert
Selenium-WebDriver end-to-end test automation boilerplate, Using ES Modules, Babel, Mocha, Chai and Assert.
assert babel chai mocha selenium-webdriver
Last synced: 28 Feb 2025
https://github.com/oriolpuig/node-todo-api
Todo API with NodeJS and Mocha
chai cucumber es6 javascript mocha nodejs test testing
Last synced: 17 Mar 2025
https://github.com/ezier-project/validate
An ezier validator for nodejs.
chai ezier mocha nodejs prettier swc typescript validator
Last synced: 12 Mar 2025
https://github.com/wojwozniak/nodejs-projects
Solutions to challenges from FCC backend courses
backend chai expressjs javascript mocha mongodb mongoose multer nodejs unit-testing
Last synced: 06 Apr 2025
https://github.com/luizcalaca/node-api-mysql-unit-test
Node.js + API + MySQL + Unit test (mocha, chai e sinon) + Swagger Docs
api-rest architecture architecture-bff chai docker docker-compose express express-js express-middleware mocha mock msc-architecture mysql mysql-database mysql2 node nodejs sinon stubs test-automation
Last synced: 11 Mar 2025
https://github.com/lemuelZara/nodebr-training
Treinamento relacionado a plataforma Node.js
commander javascript mocha nodejs test
Last synced: 11 Mar 2025
https://github.com/dnbard/react-tutorial
Examples for React course in GlobalLogic Ukraine
guide gulp mocha react react-router redux tutorial
Last synced: 21 Mar 2025
https://github.com/variablevar/marketplace-contracts
This monorepo contains a Web3-based application designed to listen to events from an Ethereum-based NFT marketplace and manage the corresponding data in MongoDB.
blockchain blockchain-event-handling ethereum event-listener hardhat mocha mongodb nft-event-listener nft-marketplace nyc smart-contracts typescript web3
Last synced: 17 Jan 2025
https://github.com/leadstar116/ethereum-lottery-pool
A simple lottery pool on Ethereum network.
ethereum ganache infura mocha pool smart-contracts solidity
Last synced: 21 Mar 2025
https://github.com/joselion/react-native-testing-mocks
React Native mocks for testing. Same as the internal Jest-based mocks, but decoupled of Jest dependency.
mocha mocks react-native react-native-testing-library testing vitest
Last synced: 10 Feb 2025
https://github.com/beardedfish/vscode-apache-dispatcher-config-language-support
An extension for Visual Studio Code that enables language support for Apache Dispatcher Configuration files. ⚙️
adobe adobe-experience-manager aem apache conf dispatcher intellisense language-server lsp mocha powershell regex tree-sitter vscode wasm
Last synced: 10 Feb 2025
https://github.com/buildpulse/buildpulse-example-mocha
Example Mocha project to demonstrate connecting to BuildPulse for flaky test detection
Last synced: 15 Apr 2025
https://github.com/zenwork/pika-mocha
seed project combining pika cli + typescript + web components + mocha testing
chai es6-modules lit-element mocha pika-pack typescript web-components
Last synced: 11 Mar 2025
https://github.com/jerp86/tdd-js
Trabalhando com Test Driven Development na vida real - Pré #SemanaJSExpert com @ErickWendel
chai js mocha mocha-chai mocha-tests nyc sinon test
Last synced: 11 Mar 2025
https://github.com/larissaperinoto/fast-delivery
Fast Delivery is a Full Stack application to support a beer distributor.
chai css eslint hooks html javascript jwt material-ui mocha mysql nodejs react-router reactjs sequelize sinon swagger
Last synced: 01 Mar 2025
https://github.com/unlight/mochapack-node-playground
Playing with mochapack
instant-mocha mocha mochapack webpack
Last synced: 18 Feb 2025
https://github.com/jimcresswell/e2e-web-test-framework-js-demo
E2E tests against a third party service using WDIO and CucumberJS
cucumber cucumber-js e2e-tests end-to-end-testing mocha page-objects portfolio specification-by-example wdio webdriverio
Last synced: 05 Mar 2025
https://github.com/alemarcha/mern
MongoDB, Express, ReactJS and NodeJS app. Using Swagger for Docs Api.
continuous-integration docker docker-compose es6 express javascript jwt mern mocha mongodb mongoose nodejs passportjs reactjs redux swagger swagger-docs swagger-ui travis webpack
Last synced: 02 Apr 2025
https://github.com/rte-antares-rpackage/js-client-tmpl
appveyor codecov grunt istanbul javascript mocha phantomjs travis-ci
Last synced: 26 Mar 2025
https://github.com/dbull7/sorting-suite
Turing FE Module 2 Bubble Sort, Insertion Sort, and Merge Sort algorithms
Last synced: 29 Mar 2025
https://github.com/gabrieldarezzo/spotifyweb-api
[JS] Curso do Willian Justen de TDD
es6 javascript mocha spotify tdd
Last synced: 18 Feb 2025
https://github.com/ankitdas09/web3-crowdfund
Web3CrowdFund, a blockchain-powered application that reimagines crowdfunding. Allows users to create campaigns, contribute Ethereum, and participate in decision-making through a decentralized voting system.
mocha nextjs semantic-ui solidity typescript
Last synced: 14 May 2025
https://github.com/albinotonnina/led-translator
English - Alienese Translator
Last synced: 16 Mar 2025
https://github.com/sutara79/demo-mocha-phantomjs-core
My practice to use mocha-phantomjs-core
Last synced: 01 Mar 2025
https://github.com/mw866/workers-wrangler
Cloudflare Workers demos using Wrangler
Last synced: 11 Mar 2025
https://github.com/flandrade/benchmark-promises-test
Promise Benchmark with Jest and Mocha
benchmark bluebird jest mocha promises typescript
Last synced: 16 Mar 2025
https://github.com/kaosdev/test-decorators
Typescript decorators for developing framework agnostic tests
decorators jasmine jest mocha testing typescript unit-testing
Last synced: 05 Apr 2025
https://github.com/fatimazza/supertestapi
API Testing using Supertest, Mocha, and Chai
api-testing chai javascript mocha mochawesome-report supertest supertest-mocha-chai
Last synced: 11 Mar 2025
https://github.com/palashmon/learn-mocha-chai
Learning about Unit Testing our JavaScript code using Mocha and Chai
chai examples learning mocha unit-testing
Last synced: 16 Mar 2025
https://github.com/murshidazher/oclif-tsdx-boilerplate
📦 An oclif-typescript boilerplate for cli package development with zero config
boilerplate cli eslint github-packages mocha oclif prettier semantic-release typescript
Last synced: 20 Feb 2025
https://github.com/lenin-anzen/javascript-unit-testing
Pruebas unitarias con Karma, Jasmine, Mocha, Jest, Chai...
chai jasmine javascript jest karma mocha unit-testing
Last synced: 01 Mar 2025
https://github.com/textbook/number_conversion_kata
TDD Kata - number conversion
javascript kata mocha mocha-chai tdd tdd-kata
Last synced: 25 Feb 2025
https://github.com/test-results-reporter/example-pactum-mocha-testbeats
example repo to showcase integration of pactum and mocha with testbeats
mocha pactum pactumjs testbeats
Last synced: 25 Dec 2024
https://github.com/koadt/solidity-campaign
Kickstart project POC on Ethereum Blockchain using Solidity and Smart Contract
blockchain javascript mocha nextjs nextjs-13 nodejs smart-contracts solidity truffle web3
Last synced: 05 Apr 2025
https://github.com/beardedfish/vscode-robots-dot-txt-support
An extension for Visual Studio Code that enables support for robots.txt files. 🤖
commands extension intellisense language-server language-server-client language-server-protocol lsp mocha robots-txt snippets syntax-highlighting visual-studio-code vscode
Last synced: 14 May 2025
https://github.com/mwolson/jazzdom
Promisified jsdom setup and teardown for your test runner
Last synced: 01 Mar 2025
https://github.com/apal21/express-babel-boilerplate
Minimal Production ready Express.js Babel(ES6+) boilerplate with ESLint Airbnb setup and pre commit hooks and also example routes and tests using Mocha and Supertest
babel babel7 backend boilerplate eslint eslint-config-airbnb express expressjs husky mocha production supertest
Last synced: 20 Feb 2025
https://github.com/jvdieten/playwright-mocha
Super lightweight playwright mocha test framework. CLI included and parallel test support.
automation-framework automation-test mocha playwright playwright-mocha test testing testing-tools
Last synced: 10 Mar 2025
https://github.com/tonyycruz/trybe-futebol-clube
Neste projeto, foi desenvolvido um site informativo sobre partidas e classificações de futebol
bcrypt chai commit-conventions express jwt mocha mysql mysql2 nodejs nodemon poo sequelize typescript
Last synced: 22 Mar 2025
https://github.com/izhaki/vest
The browser-first testing framework
browser cucumber javascript mocha testing webpack
Last synced: 24 Feb 2025
https://github.com/olivercaine/australian-immigration
Library for calculating Australian immigration points
babel chai eslint immigration javascript mocha travis
Last synced: 06 Apr 2025
https://github.com/aaronleocooper/reactjs-mobx-kit
TDD-focused ReactJS, MobX, React Router starter kit
babel boilerplate component-styleguide es6 es7 mobx mobx-react mocha react-router-v4 react16 reactjs starter-kit styleguide tdd tdd-focused-reactjs webpack webpack3
Last synced: 28 Mar 2025
https://github.com/nour-karoui/inbox-ethereum
Getting started with Blockchain & Ethereum with a simple smart contract for reading, updating a message
blockchain ethereum ganache-cli mocha remix-ide smart-contracts solidity
Last synced: 25 Feb 2025
https://github.com/marcl/facebook-messenger-bot
Fork of Facebook messenger bot to show adding tests to existing code.
bot chai facebook js-testing-made-easy mocha unit-testing
Last synced: 21 Mar 2025
https://github.com/mikelpmc/beezy-frontend-test
Beezy frontend test, react, redux, tdd
css es6 javascript mocha react react-router redux testing
Last synced: 22 Mar 2025
https://github.com/gunjankadu/angular-super-heroes
Super Heroes Application made with Angular 8 + Angular CLI + Angular Universal + i18n + Firebase
angular8 firebase i8n karma-jasmine lazy-loading mocha ngrx ngrx-effects ngrx-store scss scss-mixins testing
Last synced: 23 Feb 2025
https://github.com/iwatakeshi/latte
A C++ testing framework that's as easy as sipping a latte.
Last synced: 21 Feb 2025
https://github.com/ragu-ravi/automation-projects
Sample automation projects
browserstack chai cucumber mocha selenium webdriverio
Last synced: 24 Feb 2025
https://github.com/lionelsu/smith-store-api
RESTful API developed with a focus on quality and following the TDD methodology, the API adopts a layered architecture consistent with Model, Service, Controller (MVC). This API offers operations related to products, authentication, and orders.
api api-rest chai docker docker-compose mocha mysql nodejs orm postman sequelize sinon typescript
Last synced: 14 May 2025
https://github.com/rtasalem/todo-list-application
A containerised to-do list application which uses RESTful API consumption throughout to allow users to fetch, add, update, and delete tasks from a PostgreSQL database. Built using Node.js, Express.js, React.js, and PostgreSQL. Frontend, backend, and database are fully containerised using Docker.
amazon-s3 crud docker javascript jest mocha nodejs pgadmin4 postgresql reactjs rest-api selenium sequelize
Last synced: 14 May 2025
https://github.com/heiseonline/request-promise-native-record
Records and plays back responses from remote web services so you can test your code in peace.
javascript mocha recorder request-promise-native testing
Last synced: 25 Apr 2025
https://github.com/automation-test-starter/supertest-mocha-demo
a SuperTest API automation testing demo project with Mocha
api-testing chai github-actions javascript mocha quickstart supertest
Last synced: 14 May 2025
https://github.com/imbenrabi/event-driven-architecture
Managed monorepo, that implements event driven flow using tRPC and Kafka.
chai commitlint docker docker-compose fasitfy husky kafdrop kafka kafkajs lint lint-staged mocha nyc pino sinon trpc vite zod
Last synced: 14 May 2025