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

--- Comment #1 from [email protected] 2012-05-30 20:46:45 UTC ---
One thing I'm not sure is where these tests should be defined: if a gadget has
internal name "foo", but is defined on pages with different names, such as
"MediaWiki:gadget-bar.js" and "MediaWiki:gadget-bar.css", where would we define
the QUnit tests which would be executed when accessing
* [[Special:JavaScriptTest/qunit/foo]]
* Special:JavaScriptTest/qunit?gadget=foo

Should it be...
* ... in [[MediaWiki:Gadget-foo/QUnit.js]] ? (then it would not be very obvious
for users that its code is related to [[MediaWiki:Gadget-bar.js]])
* ... in [[MediaWiki:Gadget-bar/QUnit.js]] (or
[[MediaWiki:Gadget-bar.js/QUnit.js]]) ? (this would mean there could be more
than one page where the Unit tests of a single gadget are defined - as many as
the number of parts of this gadget)

What do you think?

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to