[Bug 30339] Implement SpecialPage for running javascript tests

2012-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

--- Comment #13 from Krinkle krinklem...@gmail.com 2012-01-03 21:55:39 UTC ---
Landed in trunk r107919.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2012-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 Blocks||30656

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2012-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

--- Comment #14 from Krinkle krinklem...@gmail.com 2012-01-03 22:21:36 UTC ---
Documentation will be available soon here:

https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Ashar Voultoiz has...@free.fr changed:

   What|Removed |Added

 CC||has...@free.fr

--- Comment #10 from Ashar Voultoiz has...@free.fr 2011-10-20 12:54:32 UTC ---
I have created a branch named JSTesting from trunk@r100338 with r100339.
Your patch is in that branch since r100340.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

--- Comment #11 from Ashar Voultoiz has...@free.fr 2011-10-20 13:58:13 UTC ---
I added some minor patches (see branch commits).

Is there any reason you are loading the QUnit module directly from the resource
loader constructor? It would be better placed in
includes/specials/SpecialJavaScriptTest.php constructor. Since those resources
are only needed for the dedicated special pages, that sounds like a waste of
cpu/memory for all the other requests.

Apart for this point above, seems it could be merged to core.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Keywords|need-review, patch  |

--- Comment #12 from Krinkle krinklem...@gmail.com 2011-10-20 23:13:36 UTC ---
This patch is fairly outdated. The above concerns are also taken care of by me
in a newer version.

I've committed it to the branch in r100392.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Attachment #8976|0   |1
is obsolete||

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-10-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Sumana Harihareswara suma...@panix.com changed:

   What|Removed |Added

   Keywords||need-review, patch
 CC||suma...@panix.com

--- Comment #9 from Sumana Harihareswara suma...@panix.com 2011-09-30 
16:00:46 UTC ---
Added the patch and need-review keywords; Mark hopes to get someone to
review the patch soon.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-09-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

URL||https://bugzilla.mozilla.or
   ||g/

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-09-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

URL|https://bugzilla.mozilla.or |
   |g/  |

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-09-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Keywords|need-review, patch  |

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

Summary|Implement   |Implement SpecialPage for
   |Special:UnitTesting |running javascript tests

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Attachment #8919|0   |1
is obsolete||

--- Comment #7 from Krinkle krinklem...@gmail.com 2011-08-26 20:10:43 UTC ---
Created attachment 8976
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=8976
Better patch

Changes since last patch:

* Renamed infrastructure from UnitTesting to JavaScriptTesting
* Moved the core test suites into a single module, instead of many separate
ones
* Using a hook to let extensions register modules (instead of keeping a global
variable, and changing it on-run time, better not to move things into a global
variable and pull them out again in another part of the code). General test
module structure is a lot simpler and straight forward now. 
* Created loop to add 'qunit.testrunner' as a dependency to all qunit test
modules. This is needed because no test should run until qunit and friends are
loaded.

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

   Keywords||need-review, patch

-- 
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


[Bug 30339] Implement SpecialPage for running javascript tests

2011-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30339

--- Comment #8 from Krinkle krinklem...@gmail.com 2011-08-26 21:11:32 UTC ---
Oh crap, testrunner should only be added to dependencies of
$testModules['qunit'] not to all of $testModules.

-- 
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