全面详尽的 JavaScript 与 Node.js 测试最佳实践(2025 年 8 月)

chai 开源项目推荐(2,323 个)
Chai 是一个 BDD/TDD 断言库,类似于 Node 内置的 assert,适用于 Node 和浏览器,可与任何 JavaScript 测试框架配合使用。
- 创建者Jake Luer, Keith Cirkel, Lucas F. da Costa, Grant Snodgrass, vesln
- 发布December 7, 2011
- 官网chaijs.com
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 2,323 个仓库React 的 JavaScript 测试工具
适用于 node.js 和浏览器的 BDD / TDD 断言框架,可与任何测试框架搭配使用。
这是一个使用 async/await 以 JavaScript 编写的基础 API REST 骨架。非常适合为前端(Android、iOS、Vue、react、angular 或任何可使用 API 的技术)构建起步 Web API。VueJS 前端演示见:https://github.com/davellanedam/vue-skeleton-mvp
用于 REST API 的测试框架。支持 BDD 并利用 Promise
用于迁移到 Jest 的 Codemod https://github.com/facebook/jest
一个基于 React 的、有明确主张的仓库,针对渐进式 Web 应用开发进行了优化。
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
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
chai - Experience Zero Trust security with Chai! Convert and view documents as vivid images right in your browser. No mandatory downloads, no hassle—just pure, joyful security! 🌈
Node.js / Express Onion Architecture boilerplate with Typescript - OOP Variant
面向所有人的数字技能评估与认证公共服务。
☕ Ergonomic, modern and type-safe assertion library for TypeScript
An API for e-commerce works, built using NodeJS & MongoDB
Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec
Simplify testing of redux action and async action creators
Cracking the Coding Interview (CTCI) Javascript Solutions with Tests
Chai assertions for Facebook's Immutable library for JavaScript collections
ERC20 wrapper over the Dai Savings Rate
A BDD test framework for Postman and Newman
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/chai。
- 该话题在 GitHub 上共有 2,323 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 5.9 万 Star,覆盖 5 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。