Continue implementation QUnit/TestSwarm integration (bug 28915)
authorKrinkle <krinkle@users.mediawiki.org>
Thu, 12 May 2011 01:34:07 +0000 (01:34 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Thu, 12 May 2011 01:34:07 +0000 (01:34 +0000)
commit0723ce4e94565abf1b97b9033fff10240c59e2d6
tree4bfdce6f0345114180b21d90f8cb105927a07b6c
parenta5db15505bfa121a5dd6c9910e96942e710f7d3d
Continue implementation QUnit/TestSwarm integration (bug 28915)
--
For now static html files. I have considered using load.php calls, and tried an in-wiki SpecialPage. However in order for versioned testing to work in TestSwarm it must be possible to do a checkout of a revision, alias or put it in a web-acccesible directory (eg. domain/tmp-svn/r1234/resources/test) and it must work right away (without needing database or LocalConfig or permission rules to avoid the wiki being modified).

For that reason I chose for a static html page for now.

Right now it loads mediawiki.js and mediawiki.util.js modules and I created complete tests for these modules.
resources/test/index.html [new file with mode: 0644]
resources/test/unit/main.css [new file with mode: 0644]
resources/test/unit/mediawiki.util/mediawiki.util.js [new file with mode: 0644]
resources/test/unit/mediawiki/mediawiki.js [new file with mode: 0644]