I have been trying to learn how to add testing to existing code -- currently reading reading Working Effectively With Legacy Code. I have been trying to apply some of the princ
Also check out Dean Edwards' Base.js. You can have a look at it here, the blog post is self-explanatory.