Added profiling to test runner.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 22 Nov 2012 18:34:32 +0000 (19:34 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 22 Nov 2012 18:34:32 +0000 (19:34 +0100)
commite2bb376dd7a357b77e937a09ced55f832ae99049
tree0fc78fc0ad49c99ef939123e491f21213e822c37
parent9537f70f5e32ad28b3aee16560ed0dcef550d749
Added profiling to test runner.

MediaWikiTestCase now calls wfProfileIn/wfProfileOut for each call
to a test function. This makes it easy to track down slow tests.

Change-Id: I5ff2fea957c082f41da37936fe44948ad006f573
tests/phpunit/MediaWikiPHPUnitCommand.php
tests/phpunit/MediaWikiTestCase.php