

GitHub - ruanyf/mocha-demos: a collection of simple demos of Mocha
source link: https://github.com/ruanyf/mocha-demos
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

This repo is for my article "A Mocha tutorial of Examples" (in Chinese).
"Mocha is a feature-rich JavaScript test framework running on Node.js and the browser, making asynchronous testing simple and fun."
-- Mochajs.org
How to use
First, clone the repo.
$ git clone https://github.com/ruanyf/mocha-demos.git
Then, install the dependencies locally and Mocha globally.
$ cd mocha-demos $ npm install $ npm install --global mocha
Enter the demo01
subdirectory.
$ mocha add.test.js
Now, play with the other examples under the repo's demo* directories.
Index
License
Recommend
-
503
README.md ES6 入门教程 官方镜像:网道(WangDoc.com) 《ECMAScript 6 入门教程》是一本开源...
-
108
webpack-demos - a collection of simple demos of Webpack
-
49
README.md This repo is the demo for Dan Shultz's tutorial "Creating A Ba...
-
72
README.md 技术分享周刊,每周五发布。 如果你看到好的链接,欢迎通过 issue 提交。
-
71
README.md A very simple demo of OAuth 2.0 using Node.js,to add GitHub login to your app and access GitHub API.
-
44
-
63
README.md 《科技爱好者周刊》收集的免费书籍汇总。 目录 Web...
-
66
README.md This is a collection of simple demos of React.js. These demos are purposely written in a simple and clear style. You will find no dif...
-
6
Files Permalink Latest commit message Commit time
-
8
the fun, simple, flexible JavaScript test frameworksimple, flexible, funMocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynch...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK