Using Qunit for testing JS
From Dreamwidth Notes
You can use Qunit for automated testing of your JS front-end code using jQuery and jQuery UI (the JS libraries we use for new UI development). There are some sample tests in the views/dev/test/ directory.
For automated testing of back-end components, see Dev Testing.
This page needs to be updated with whatever happens as a result of bug 3525.
This article could really use expansion. If you have information to add, please edit this page!