https://bugzilla.wikimedia.org/show_bug.cgi?id=26908
Summary: Make mediaWiki JS test suite better Product: MediaWiki Version: 1.18-svn Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: Resource Loader AssignedTo: krinklem...@gmail.com ReportedBy: krinklem...@gmail.com CC: roan.katt...@gmail.com, tpars...@wikimedia.org We could move to a test system similar to the php parser tests. Main advantage being no need to escape everything in addTest( '' ); <pre> # hash lines ignored !! test Title here !! input javascript = 'being'; evaluated.with = the.EvalFunction(); return evaluated.with; !! output hello world !! type (typeof output) string !! end </pre> Or we could use an existing framework (jQuery QUnit[1]) or even an off-site environment (eg. TestSwarm) [1] jQuery QUnit: http://docs.jquery.com/Qunit Example: http://view.jquery.com/tags/1.3.2/test/ [2] TestSwarm: https://github.com/jeresig/testswarm/wiki -- 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