I’m planning on releasing a Node module out in the wild and was wondering if I should include tests written specifically for use with a test framework (i.e mocha) or tests that run with regular node (i.e node test.js).
What’s the consensus on this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t go too far wrong following some of the biggest projects in the ecosystem
https://github.com/visionmedia/express/tree/master/test
https://github.com/senchalabs/connect/tree/master/test
https://github.com/LearnBoost/websocket.io/tree/master/test