JSUnit :
> JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnit to JavaScript.
I talked about another, simpler testing framework, ECMAUnit the other day, but I noted that the above is the one Olav is using. Seems more featureful, and you can run some sort of server with it, too.