Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2024-12-28 00:13:30 UTC
- JSON Representation
https://github.com/goldbergyoni/nodebestpractices
:white_check_mark: The Node.js best practices list (July 2024)
best-practices es6 eslint express expressjs javascript jest microservices mocha node-js nodejs nodejs-development npm rest style-guide styleguide testing types
Last synced: 30 Dec 2024
https://github.com/goldbergyoni/javascript-testing-best-practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
angular chai ci cicd contract-testing e2e e2e-tests express integration-testing javascript jest mocha mutation mutation-testing nodejs react test testing unittest
Last synced: 30 Dec 2024
https://github.com/mochajs/mocha
☕️ simple, flexible, fun javascript test framework for node.js & the browser
bdd browser javascript mocha mochajs node nodejs tdd test test-framework testing testing-tools
Last synced: 30 Dec 2024
https://github.com/enzymejs/enzyme
JavaScript Testing utilities for React
assertion-library assertions ava chai enzyme jest mocha react react-components test test-runner test-runners testing traversal
Last synced: 30 Dec 2024
https://enzymejs.github.io/enzyme/
JavaScript Testing utilities for React
assertion-library assertions ava chai enzyme jest mocha react react-components test test-runner test-runners testing traversal
Last synced: 05 Nov 2024
https://github.com/karma-runner/karma
Spectacular Test Runner for JavaScript
bdd browser jasmine javascript karma mocha qunit tdd test-runner
Last synced: 30 Dec 2024
https://github.com/webdriverio/webdriverio
Next-gen browser and mobile automation test framework for Node.js
automation cucumber devtools jasmine javascript mocha node performance performance-test test webdriver webdriverio
Last synced: 30 Dec 2024
https://github.com/doodlewind/jshistory-cn
🇨🇳 《JavaScript 二十年》中文版
actionscript book browser chinese eich history javascript js jscript mocha spidermonkey translation
Last synced: 26 Dec 2024
https://github.com/azat-co/practicalnode
Practical Node.js, 1st and 2nd Editions [Apress] 📓
apress aws aws-ec2 express express-js expressjs javascript mocha mongodb node-js node-module nodejs rest-api
Last synced: 26 Dec 2024
https://github.com/testjavascript/nodejs-integration-tests-best-practices
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
backend best-practices component-testing database express fastify integration-testing javascript jest message-queue microservices mocha nestjs nodejs rest testing
Last synced: 27 Dec 2024
https://github.com/kunalkapadia/express-mongoose-es6-rest-api
:collision: A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
authentication babel bluebird boilerplate coverage dotenv es6 eslint express jsonwebtoken mocha mongodb mongoose node yarn
Last synced: 27 Dec 2024
https://github.com/oguimbal/pg-mem
An in memory postgres DB instance for your unit tests
deno hacktoberfest mocha node node-postgres nodejs pg-mem pg-promise postgresql slonik sql-syntax-parser typeorm typescript unit-testing unit-tests
Last synced: 24 Dec 2024
https://github.com/pact-foundation/pact-js
JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
consumer-driven-contracts hacktoberfest mocha pact pact-js smartbear-supported test-framework
Last synced: 23 Dec 2024
https://github.com/jejacks0n/teaspoon
Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
browserstack coverage jasmine javascript-tests mocha qunit rails teaspoon
Last synced: 24 Dec 2024
https://github.com/nickmerwin/node-coveralls
lcov posting to coveralls.io
coverage coveralls javascript mocha test-coverage
Last synced: 25 Dec 2024
https://github.com/istanbuljs/istanbuljs
monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation
ava code-coverage javascript jest mocha nodejs tap tape
Last synced: 30 Dec 2024
https://github.com/dareid/chakram
REST API test framework. BDD and exploits promises
api-test bdd chai javascript mocha promise-support rest test
Last synced: 27 Dec 2024
https://github.com/davellanedam/node-express-mongodb-jwt-rest-api-skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
api async-await chai eslint express front-end javascript jwt jwt-authentication mocha mongodb mongoose mvp node nodejs postman redis rest testing token
Last synced: 28 Dec 2024
https://github.com/tank0317/unit-test-demo
一步一步介绍如何给项目添加单元测试
codecov javascript karma mocha travis-ci unit-test
Last synced: 30 Dec 2024
https://github.com/skovhus/jest-codemods
Codemods for migrating to Jest https://github.com/facebook/jest 👾
ava chai codemod codemods jest jest-codemods jscodeshift mocha tape testing
Last synced: 25 Dec 2024
https://github.com/typicode/xv
🙅♀️ ✌️ fastest test runner
ava esm javascript jest minimalist mocha node nodejs runner tdd test testing typescript
Last synced: 28 Dec 2024
https://github.com/wallabyjs/public
Repository for Wallaby.js questions and issues
atom-editor ava bdd continuous-testing intellij jasmine javascript jest mocha nodejs sublime-text-3 tdd test-coverage test-runner typescript visual-studio vscode vscode-extension wallaby webpack
Last synced: 27 Dec 2024
https://github.com/ducksoupdev/vue-webpack-typescript
A Vue, Webpack, Typescript, Bootstrap setup with hot reload, dynamic imports, unit testing, code coverage, sass, uncss and bundling/minification.
mocha typescript typescript2 vuejs2 webpack3
Last synced: 27 Sep 2024
https://github.com/cgewecke/eth-gas-reporter
Gas usage per unit test. Average gas usage per method. A mocha reporter.
buidler codechecks ethereum gas hardhat-plugin mocha solidity truffle unit-testing
Last synced: 27 Sep 2024
https://github.com/simonfl3tcher/react-progressive-web-app
An opinionated React based repository which is optimized for Progressive Web App development.
chai flow mocha nightwatch progressive-web-app pwa react reactjs webpack webpack2
Last synced: 30 Dec 2024
https://github.com/lorenzofox3/zora
Lightest, yet Fastest Javascript test runner for nodejs and browsers
assertion deno javascript javascript-test-harness mocha nodejs tap tdd test testing testing-tools typescript zora
Last synced: 26 Dec 2024
https://github.com/davellanedam/vue-skeleton-mvp
VueJs, Vuetify, Vue Router and Vuex skeleton MVP written on JavaScript using async/await built to work with API REST skeleton: https://github.com/davellanedam/node-express-mongodb-jwt-rest-api-skeleton
async await chai cypress eslint frontend i18n javascript mocha mvp prettier skeleton testing vue-router vuejs vuetify vuex
Last synced: 25 Dec 2024
https://github.com/mkosir/typeorm-express-typescript
💊 Minimal Express RESTful API boilerplate. Spin it up with single command. TypeScript, TypeORM, Postgres, Docker.
boilerplate docker docker-compose express express-boilerplate jwt mocha nodejs postgres rest-api typeorm typescript
Last synced: 28 Dec 2024
https://github.com/volument/baretest
An extremely fast and simple JavaScript test runner.
bdd javascript-test-runner jest minimalist mocha tap tape tdd test-framework test-runner testing-tool web-ser
Last synced: 25 Dec 2024
https://github.com/usulpro/js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
babel chai enzyme eslint guide gulp javascript mocha node npm npm-module npm-package react redux russian sinon translate tutorial webpack yarn
Last synced: 27 Sep 2024
https://github.com/sindresorhus/gulp-mocha
Run Mocha tests
gulp-plugin javascript mocha nodejs test-runner
Last synced: 27 Dec 2024
https://github.com/kmiyashiro/grunt-mocha
[MOVED] Grunt task for running mocha specs in a headless browser (PhantomJS)
grunt-mocha grunt-plugins grunt-task mocha phantomjs test-automation test-runner testing
Last synced: 27 Sep 2024
https://github.com/gevorg/http-auth
Node.js package for HTTP basic and digest access authentication.
crypt digest digest-access http javascript mocha passhash passport protection realm
Last synced: 27 Dec 2024
https://github.com/mantoni/mochify.js
☕️ TDD with Browserify, Mocha, Headless Chrome and WebDriver
browserify coverage headless-chrome mocha puppeteer test-runner testing webdriver
Last synced: 29 Dec 2024
https://github.com/steve-lebleu/typeplate
REST API boilerplate with Typescript, Express.js, Typeorm and Mocha.
api api-rest apidoc authentication boilerplate e2e-tests entity-generation express mocha node typedoc typeorm typescript upload-file
Last synced: 29 Dec 2024
https://github.com/sazeracjs/sazerac
Data-driven unit testing for Jasmine, Mocha, and Jest
assertions data-driven-tests jasmine javascript jest mocha unit-testing
Last synced: 29 Dec 2024
https://github.com/melzar/onion-architecture-boilerplate
Node.js / Express Onion Architecture boilerplate with Typescript - OOP Variant
apollo-server architecture boilerplate chai enterprise express graphql mocha nodejs onion postgresql rest sinon solid stryker swagger typeorm typescript
Last synced: 24 Dec 2024
https://github.com/Melzar/onion-architecture-boilerplate
Node.js / Express Onion Architecture boilerplate with Typescript - OOP Variant
apollo-server architecture boilerplate chai enterprise express graphql mocha nodejs onion postgresql rest sinon solid stryker swagger typeorm typescript
Last synced: 21 Nov 2024
https://github.com/cartant/rxjs-marbles
An RxJS marble testing library for any test framework
ava jasmine jest marble-testing mocha rxjs tape
Last synced: 29 Dec 2024
https://github.com/lo1tuma/eslint-plugin-mocha
ESLint rules for mocha
eslint eslint-plugin eslintplugin hacktoberfest mocha
Last synced: 26 Dec 2024
https://github.com/san650/ember-cli-page-object
This ember-cli addon eases the construction of page objects on your acceptance and integration tests
ember ember-cli mocha page-object pageobject pageobject-pattern qunit testing
Last synced: 26 Dec 2024
https://github.com/babel-utils/babel-plugin-tester
🔌 Utilities for easy feature-complete testing of babel plugins and presets
babel jasmine javascript jest mocha node-test testing typescript
Last synced: 27 Dec 2024
https://github.com/balassy/aws-lambda-typescript
This sample uses the Serverless Application Framework to implement an AWS Lambda function in TypeScript, deploy it via CloudFormation, publish it through API Gateway to a custom domain registered on Route53, and document it with Swagger.
aws aws-apigateway aws-cloudformation aws-lambda aws-route53 mocha serverless serverless-framework swagger tslint typescript
Last synced: 24 Dec 2024
https://github.com/testimio/root-cause
🔍 [DEPRECATED] Root Cause is a tool for troubleshooting Puppeteer and Playwright tests. 🔎
e2e-testing e2e-tests jest mocha network-har playwright playwright-tests puppeteer
Last synced: 27 Sep 2024
https://github.com/marcomontalbano/figma-export
Export tool for Figma. You can easily and automatically export your Figma components and use them directly into your website.
cli components coveralls figma figma-export mocha svg typescript
Last synced: 29 Dec 2024
https://github.com/nspec/NSpec
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
bdd core dotnet mocha nspec nspec-tests rspec tdd testing
Last synced: 27 Oct 2024
https://github.com/nspec/nspec
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
bdd core dotnet mocha nspec nspec-tests rspec tdd testing
Last synced: 30 Dec 2024
https://github.com/l2beat/earl
☕ Ergonomic, modern and type-safe assertion library for TypeScript
assert assertion-libraries chai jest mocha testing typescript
Last synced: 27 Dec 2024
https://github.com/testdeck/testdeck
Object oriented testing
decorators dependency-injection ioc jasmine javascript jest mocha mocha-typescript oop parameterised-tests tdd tdd-interfaces testing testing-tools typescript
Last synced: 30 Dec 2024
https://github.com/allure-framework/allure-js
Allure integrations for JavaScript test frameworks
allure cucumber jasmine jest mocha newman playwright postman reporing reporting-engine testing vitest
Last synced: 26 Dec 2024
https://github.com/blakeembrey/co-mocha
Enable support for generators in Mocha tests
Last synced: 28 Dec 2024
https://github.com/mocha-parallel/mocha-parallel-tests
Parallel test runner for mocha tests. Looking for maintainer.
Last synced: 25 Dec 2024
https://github.com/codingfriend1/feathers-vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
authentication authorization bootstrap docker email-verification es6 es7 express feathersjs font-awesome jade jasmine lodash mocha mongoose nginx scss stylus vuejs2 webpack
Last synced: 19 Dec 2024
https://github.com/codingfriend1/Feathers-Vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
authentication authorization bootstrap docker email-verification es6 es7 express feathersjs font-awesome jade jasmine lodash mocha mongoose nginx scss stylus vuejs2 webpack
Last synced: 01 Nov 2024
https://github.com/danielstjules/mocha.parallel
Run async mocha specs in parallel
javascript mocha nodejs parallel test
Last synced: 27 Dec 2024
https://github.com/bradleyboy/yarsk
Don't use this, use Create React App
babel es6 eslint javascript less mocha react sass
Last synced: 27 Sep 2024
https://github.com/piotrwitek/ts-mocha
Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity
mocha testing-tools ts-mocha typescript typescript-tests
Last synced: 30 Dec 2024
https://github.com/redux-things/redux-actions-assertions
Simplify testing of redux action and async action creators
assertions chai jest mocha redux redux-middleware unit-testing
Last synced: 30 Dec 2024
https://github.com/andronixapp/andronix-website-base
We have a new website 👀, built with NuxtJS and Tailwind CSS, it's fast! Uses Cypress and Mocha for testing and is automated with GH Actions.
andronix cypress jest mocha nuxt tailwindcss vue
Last synced: 25 Dec 2024
https://github.com/sysgears/mochapack
Mocha test runner with integrated webpack precompiler
Last synced: 27 Dec 2024
https://github.com/harryttd/cracking-the-coding-interview-javascript-solutions-ctci
Cracking the Coding Interview (CTCI) Javascript Solutions with Tests
chai cracking-the-coding-interview ctci es6 interview-practice interview-prep interview-questions interviewing javascript js mocha tdd
Last synced: 12 Nov 2024
https://github.com/you54f/cypress-plugins
A home for various Cypress Plugins
circleci cypress cypress-plugin cypress-slack-reporter mocha mochawesome mochawesome-report slack testing
Last synced: 29 Dec 2024
https://github.com/bahmutov/snap-shot
Jest-like snapshot feature for the rest of us, works magically by finding the right caller function
jest jsx mocha react snapshot test unit-testing vue
Last synced: 27 Dec 2024
https://github.com/YOU54F/cypress-plugins
A home for various Cypress Plugins
circleci cypress cypress-plugin cypress-slack-reporter mocha mochawesome mochawesome-report slack testing
Last synced: 13 Nov 2024
https://github.com/kiki-le-singe/react-redux-universal-boilerplate
An Universal ReactJS/Redux Boilerplate
babel boilerplate code-splitting css-modules cssnext enzyme eslint hot-reload karma koajs mocha react react-router reactjs redux sass scss starterkit webpack webpack-dev-server
Last synced: 12 Nov 2024
https://github.com/nordcloud/serverless-mocha-plugin
Plugin for Serverless Framework which adds support for test-driven development using Mocha
mocha serverless-framework serverless-plugin test-driven-development
Last synced: 28 Dec 2024
https://github.com/bahmutov/snap-shot-it
Smarter snapshot utility for Mocha and BDD test runners + data-driven testing!
bdd mocha snapshot snapshot-testing tdd test testing
Last synced: 27 Dec 2024
https://github.com/antoinejaussoin/redux-saga-testing
A no-brainer way of testing your Sagas
ava jest mocha redux redux-saga sagas testing testing-sagas
Last synced: 29 Dec 2024
https://github.com/brainhubeu/react-permissible
👮♂️Making the permission management for React components easier.
callback javascript mocha optional-props permission-manager permissions props react typescript webpack
Last synced: 29 Dec 2024
https://github.com/ember-cli/ember-cli-mocha
Mocha and Chai tests for ember-cli applications
ember ember-cli ember-cli-addon mocha
Last synced: 15 Dec 2024
https://github.com/weapon-xx/163music
🎵163 music web app built with Vue 2.6, server side render, webpack 4
express karma mocha sass server-side-rendering vue-loader vue-router vue2 vuex webpack-dev-server webpack-hot-middleware webpack4
Last synced: 12 Nov 2024
https://github.com/tomatau/breko-hub
Babel React Koa Hot Universal Boilerplate
babel css-modules javascript koa lint mocha modular react redux webpack
Last synced: 12 Nov 2024
https://github.com/godaddy/ekke
Ekke is a test runner for React-Native, it allows you to execute your test code directly on the device enabling you to test in the same environment as your production users.
devtool integration mocha mock react-native tape testing
Last synced: 26 Dec 2024
https://github.com/vladinho10/node-server-template
This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.
architecture-guide boilerplate eslint express javascript kafka mocha mongodb mongoose nodejs nodemailer postgresql postman restful-api sequelize socket-io style-guide websocket yarn
Last synced: 29 Dec 2024
https://github.com/skovy/cooky-cutter
🍪 Object factories for testing in TypeScript
factory javascript jest mocha testing typescript
Last synced: 23 Dec 2024
https://github.com/nordcloud/serverless-jest-plugin
Plugin for Serverless Framework which adds support for test-driven development using Jest
mocha serverless-framework serverless-plugin test-driven-development
Last synced: 28 Dec 2024
https://github.com/camesine/typescript-restful-starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
chai clustering commonjs cors cpu es2015 expressjs jwt mocha nodejs rest-api sequelize tslint typescript
Last synced: 12 Nov 2024
https://github.com/codigami/hapi-starter-kit
Hapi.js based REST boilerplate which uses latest ES7/ES8 features (async/await) with code coverage and follows best pratices
async-await boilerplate code-climate code-coverage docker docker-compose es7 es8 eslint hapi javascript mocha newrelic nodejs sinon standard-js starter-kit swagger travis-ci yarn
Last synced: 10 Oct 2024
https://github.com/robisim74/firebase-functions-typescript-starter
Create & test Firebase Cloud Functions in TypeScript
firebase firebase-cloud-functions mocha rollup typescript
Last synced: 10 Oct 2024
https://github.com/approvals/approvals.nodejs
Approval Tests implementation in NodeJS
approval approval-test cross-platform jasmine javascript linux mac mocha nodejs testing testing-tools windows
Last synced: 29 Dec 2024
https://github.com/ncpatro/javascript-unit-testing-with-mocha
Unit test using Mocha and Chai
chai javascript mocha unit-test
Last synced: 12 Nov 2024
https://github.com/hugomrdias/playwright-test
Run unit tests with several test runners or benchmark inside real browsers with playwright and other Javascript runtimes.
benchmark benchmarkjs code-coverage cover istanbul mocha mochajs nyc playwright tape test testing testing-tools tests typescript zora
Last synced: 29 Dec 2024
https://github.com/yzevm/typeorm-mock-unit-testing-example
Example how to mock TypeORM database connection for your blazing unit-tests with Mocha and Jest
docker-compose e2e-tests express jest mocha mock sinon stub tests typeorm typescript unit-testing
Last synced: 10 Oct 2024
https://github.com/yamadapc/jsdoctest
Run jsdoc examples as doctests.
compiler doctest documentation javascript jsdoc mocha testing
Last synced: 12 Nov 2024
https://github.com/goldhand/cookiecutter-webpack
Boilerplate for webpack 2, babel, react + redux + hmr, and karma. Can be inserted into existing django projects.
babel cookiecutter cookiecutter-webpack hmr karma mocha react redux webpack webpack2
Last synced: 10 Oct 2024
https://github.com/levibuzolic/eslint-plugin-no-only-tests
ESLint rule for catching focused/only test blocks
eslint eslint-plugin eslint-rules jasmine jest mocha
Last synced: 27 Dec 2024
https://github.com/gabel/karma-webpack-example
Karma + Webpack + Mocha + Chai + Istanbul
chai coverage istanbul javascript karma-webpack mocha phantomjs testing webpack
Last synced: 10 Oct 2024
https://github.com/yohangz/packer-cli
:boom: Full-fledged CLI tool to generate and package node modules compliant with Browser and NodeJS. Packer CLI support all modern style, unit test and script transpiler tools
babel build-tool eslint gulp handlebars istambul jasmine jest jsdom less mocha nodejs reactjs rollupjs sass spdx stylelint stylus tslint typescript
Last synced: 12 Nov 2024
https://github.com/simonrenoult/nodejs-application-architecture
👨🔧 A discussion on how Node.js projects can be organized.
chai craftsmanship express mocha nodejs sequelize
Last synced: 10 Oct 2024
https://github.com/nordcloud/serverless-boilerplate
Serverless project template
mocha nodejs serverless serverless-framework
Last synced: 10 Oct 2024
https://github.com/atsistemas/react-base
atSistemas React/Redux Isomorphic Platform
chai coverage enviroment enzyme immutablejs isomorphic jsdom mocha postcss react reactjs redux universal webpack3
Last synced: 12 Nov 2024