up vote 11 down vote favorite
2
share [g+] share [fb]

What do you use for JavaScript testing both server-side and client-side?

link|improve this question
feedback

migrated from stackoverflow.com Feb 23 '11 at 18:19

This question came from our site for professional and enthusiast programmers.

8 Answers

I have used JSUnit (briefly), the link is a quick guide.

It has been a while since I last used it so hope this helps.

link|improve this answer
I think JSUnit has been abandoned for some years, though I might be wrong ont hat one. – Zachary K Feb 23 '11 at 20:28
@Zachary K - I haven't used it for ages as I said you you maybe right. Shame if it is as I did like using it. – Digger Feb 23 '11 at 20:39
feedback

Nodeunit, iit's really easy to get running under both Node.js and in Browsers.

link|improve this answer
feedback

For unit Test : QUnit , For server side and simulated browser environment Envjs.

Now i am studying on FuncUnit of JavascripMVC, how to implement it in my project.

link|improve this answer
feedback

I've found gently really useful for mocking and stubbing, and generally just keeping my tests clean, under node.

link|improve this answer
feedback

We just had a presentation at the office on this. They used coffeescript for the javascript and jasmine for a test runner.

link|improve this answer
feedback

For functionality testing Selenium can be a good choice.

link|improve this answer
feedback

MooTools uses Jasmine.

Jasmine is a behavior-driven development framework for testing your JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.