开发
- 新建issue(feature)
- 开发
- 提交(git commit -am ‘fix #21 xxxx’)
- 合并到主分支
测试
单元测试需要的各个模块说明
- chai(Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.)
- sinon(Standalone test spies, stubs and mocks for JavaScript.)
- zombie (页面事件模拟Zombie.js is a lightweight framework for testing client-side JavaScript code in a simulated environment. No browser required.)