Repository navigation
Mocha
Created by OpenJS Foundation
发布于 November 22, 2011
- Repository
- mochajs/mocha
- Website
- mochajs.org
- Wikipedia
- 维基百科
相关主题
TestingJavaScriptNode.jsTest-driven developmentBehavior-driven developmentJasmineChaiJest
Mocha 是一个JavaScript 测试框架,支持运行在浏览器和Node.js中、具有异步测试、测试覆盖率报告和任何断言库的使用功能。
Assertation styles
- assert
- expect
- should
Methologies
- TDD
- BDD
Reporting styles
特色
✅ The Node.js best practices list (July 2024)
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
☕️ simple, flexible, fun javascript test framework for node.js & the browser
JavaScript Testing utilities for React
Spectacular Test Runner for JavaScript
Next-gen browser and mobile automation test framework for Node.js
🇨🇳 《JavaScript 二十年》中文版
Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025)
Practical Node.js, 1st and 2nd Editions [Apress] 📓
💥 A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
An in memory postgres DB instance for your unit tests
JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
A Gorgeous HTML/CSS Reporter for Mocha.js
lcov posting to coveralls.io
monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation
REST API test framework. BDD and exploits promises
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
Codemods for migrating to Jest https://github.com/facebook/jest 👾