A while back I posted a long investigation of Scriptaculous’s unit testing framework, which is in the unittest.js file distributed with Scriptaculous. I’ve gotten around to writing some actual tests, so if you’d like to read about how it works, check out my little article about implementing unittest.