Repository navigation

#

Mocha

Created by OpenJS Foundation

发布于 November 22, 2011

mochajs/mocha
mochajs.org
维基百科

相关主题

TestingJavaScriptNode.jsTest-driven developmentBehavior-driven developmentJasmineChaiJest
mocha logo

Mocha 是一个JavaScript 测试框架,支持运行在浏览器和Node.js中、具有异步测试、测试覆盖率报告和任何断言库的使用功能。

Assertation styles

  • assert
  • expect
  • should

Methologies

  • TDD
  • BDD

Reporting styles

特色

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

JavaScript
22749
8 天前
TypeScript
9468
10 小时前

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

JavaScript
3938
11 天前
JavaScript
3808
2 年前

💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication

JavaScript
2929
5 年前
TypeScript
2132
2 个月前

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

TypeScript
1676
4 天前

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.

JavaScript
1422
8 个月前

A Gorgeous HTML/CSS Reporter for Mocha.js

JavaScript
1069
1 年前
JavaScript
1067
2 年前

monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation

JavaScript
1049
9 个月前
JavaScript
907
3 年前

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

JavaScript
905
2 年前

一步一步介绍如何给项目添加单元测试

JavaScript
887
2 年前

Codemods for migrating to Jest https://github.com/facebook/jest 👾

TypeScript
883
8 天前