我打算在野外发布一个Node模块,并想知道是否应该包含专门为testing框架(即mocha)使用而编写的testing或者使用常规节点(即node test.js)运行的testing。
对此有何共识?
在生态系统中的一些最大的项目之后,你不能犯太多错误
https://github.com/visionmedia/express/tree/master/test https://github.com/senchalabs/connect/tree/master/test https://github.com/LearnBoost/websocket.io/tree/主/testing