FuncUnit is a free, open source JavaScript web application testing framework that’s powered by jQuery, Selenium, QUnit, and Envjs. JavaScript application testing is difficult. Existing solutions suffer from complex setup, difficult APIs, lack of automation or expensive licensing fees. FuncUnit provides functional testing as it simulates clicks, keypresses, drags to test event handling and UI changes.
http://events.jquery.org/2010/boston/video/video.php?talk=brian-moschel