https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

--- Comment #1 from Krinkle <krinklem...@gmail.com> 2011-08-12 08:05:11 UTC ---
Roughly summarized the approach I plan to take:
* Create a Special:UnitTesting page (disable user scripts, like
preferences/login etc.)
* By default shows a list, $par is the framework of choice
* Special:UnitTesting/qunit
** Outputs the QUnit html frame
** Loads the jquery.qunit module and our testrunner
** Loads the test suites from $wgUnitTestingQUnitSuites
* $wgUnitTestingQUnitSuites is an array of module names (eg. array(
'jquery.byteLength.test' )).
* The test suites are registered as resource modules in $wgResourceModules or
Resources.php: 'jquery.byteLength.test' => array( 'scripts' => ....,
'dependencies' => 'jquery.byteLength' )

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to