views:

201

answers:

6

I've really only implemented my own simple code for creating and running simple unit tests in JavaScript. Basically it automatically executes a list of functions and if a function throws an exception it fails, if not it passes.

I'm trying to find a good JavaScript Unit Testing Framework to use with my projects going forward, but there are a few choices out there and I'm not sure which would be the best options to check out.

Could you guys please post a single JavaScript Unit Testing Framework per Answer and if the one you are going to post is already posted, please just vote it up. And, if you really don't like a certain one, feel free to vote it down.

And, Yes I made this a Community Wiki.

A: 

jsUnit

http://www.jsunit.net/

Chris Pietschmann
A: 

Yahoo! UI Library's YUI Test is pretty solid and has an inbuilt mocking framework.

Praveen Angyan
A: 

Custom (You use your own, homegrown, framework)

Chris Pietschmann
A: 

jsspec

http://jania.pe.kr/aw/moin.cgi/JSSpec

Nosredna
A: 

This isn't a question, it's a survey. What's more, your votes will be of much more use in this survey that John Resig is running regarding his Test Swarm product...

cwash
Yes, but I can't see the results of that survey as people submit answers. When will he post the final results of it?? I don't know.
Chris Pietschmann
I wouldn't be too impatient considering he just put it out today... :)
cwash
And, there's no harm in having another poll like this.
Chris Pietschmann
A: 

JSpec

http://visionmedia.github.com/jspec/

Chris Pietschmann