At the moment it is not possible to automatically/easily run qunit tests for extensions according to the documentation. Thought it might be a good idea to track this in bugzilla.
Version: unspecified
Severity: normal
URL: http://www.mediawiki.org/w/index.php?title=Manual:JavaScript_unit_testing&oldid=425412#How_to_write_a_QUnit_test_in_MediaWiki