Thanks for the answers. I use expresso + should + gently Will switch to mocha + should + (gently?sinon) Question to sinon users: can it mock the required modules like gently does? https://github.com/felixge/node-gently#gentlyhijackrealrequire
Could you post links to your code (if you can) where I could see the structure of files organization and tests in use. I still have a question about unit tests for client-side code. What I do, I use expresso to test client code files. To test models is fine, but when it comes to views with jQuery I have to mock a lot the jquery calls. An alternative would be not to do it for jQuery but fire up a browser and unit test functions with jQuery there. How do you do here? What are pros/cons of zombiejs vs phantomjs vs testling? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
