https://bugzilla.wikimedia.org/show_bug.cgi?id=26908
--- Comment #14 from Krinkle <[email protected]> 2011-05-16 21:31:09 UTC --- (In reply to comment #12) > Per IRC this is now fixed in Krinkle's work tree, so it'll be back (fixed) > with > the next commit on this bug. Yay! Yep! r88144/r88149 removed the old test suite, and the new QUnit module is now available in resource loader. Gadgets can access qunit by wrapper their test unit initialization in: mw.loader.using( 'jquery.qunit', function(){ /* qunit test suite here */ }); As with all Qunit testing, the following elements must be on the page. Create them in a wiki article or insert them dynamically: <h1 id="qunit-header">Name of my Test Suite</h1> <h2 id="qunit-banner"></h2> <div id="qunit-testrunner-toolbar"></div> <h2 id="qunit-userAgent"></h2> <ol id="qunit-tests"></ol> -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
