Page 1 of 1

Unit Testing JavaScript (Mocks ??)

Posted: Fri Sep 01, 2006 2:34 am
by Chris Corbyn
I'm looking for a Unit Testing framework for JavaScript. I've played around with JSUnit (the one at jsunit.net... there are others by the same name) which is pretty nice with a nice little test suite but does anybody know one that supports Mock Objects for testing things like AJAX?

Posted: Fri Sep 01, 2006 3:05 am
by Chris Corbyn
Sorry this seems to have been a waste of a thread :( I found this: http://jsmock.sourceforge.net/

It can just be used inside the JSUnit testing framework.