wiki.techinc.nl/tests/qunit/data
Timo Tijhof 498ef943dd Allow custom teardown/setup per module through Qunit.newMwEnvironment
- Instead of having newMwEnvironment only create an object with
  setup() and teardown() that is passed to module() which uses them.

  Also allow a module test to pass additional setup/teardown to run.
  Otherwise one would have to extend newMwEnvironment, this is
  simpler.

- Also added a few unit tests of the test runner's newMwEnvironment
  method itself. (also serves as document/example for how to use it)

- This changes the signature of QUnit.newMwEnvironment. Was only
  used in 2 places in core. Adding release notes just in case.

- Needed to fix a unit test breakage in mw.Uri

Change-Id: I2c17f4a309208276ab7bd2420b720c0d8e4bf328
2012-05-13 00:37:30 +02:00
..
callMwLoaderTestCallback.js [JSTesting] Refactor mw.loader test to be more extendable 2012-02-24 00:44:33 +00:00
qunitOkCall.js
styleTest.css.php Re-enable css @import unit tests 2012-05-03 02:09:26 +02:00
testloader.php (bug 35240) Fix mw.loader state machine. 2012-05-09 11:01:19 +02:00
testrunner.js Allow custom teardown/setup per module through Qunit.newMwEnvironment 2012-05-13 00:37:30 +02:00