For PHP code in custom module, we use SimpleTest. But how do you test the JavaScript code in a module or a theme?
I known about JavaScript testing frameworks like Jasmine or QUnit, but I'm curious to known if and how they are used to test Drupal specific JavaScript code.