This document discusses automating QUnit tests using Hudson and Selenium. It provides background on refactoring, test-driven development, unit testing, Hudson, and Selenium. It then describes using the Selenium client API to run QUnit tests and collect results, coverage analysis with JSCat, and a ready-made toolkit for test automation including js-test-driver, its QUnit adapter and coverage plugin, and Hudson integration.