Thank you Peter, that is exactly where I have landed. I feel more confident that I have made the correct choice.
Reza On Thursday, May 8, 2014 9:42:21 PM UTC-7, Peter Rust wrote: > > Reza, > > Sorry, I just now noticed "JSTestDriver" in the subject. JSTestDriver is > intended for browser javascript, not node javascript -- so your code either > needs to not have any requires in it, or if it's built for node you need to > "browserify" it before testing it, or if it's built for a browser-side > require like RequireJS, you'll need to include that library with your tests > (how exactly to do that with JSTestDriver is a question for their mailing > list (https://groups.google.com/forum/#!forum/js-test-driver). > > If you're trying to test node javascript, I would recommend switching from > JSTestDriver to something focused on node, like mocha. > > -- peter > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/8fa5338f-06b9-4f88-b857-01e52573eab6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
