- 全局安装 mocha
npm install mocha -g
- Fork 代码仓库并拉到本地
- 启动测试
mocha
- 打开
./test/test.js修改代码跑通测试用例
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — GitHub - cookcc/exercise1: 课程练习 1:一个简单的测试例子 |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |