Platonides
71ee20cd18
Move $wgLocalisationCacheConf disabling from bootstrap.php to phpunit.php
2011-01-21 22:44:40 +00:00
Platonides
f78ae2a51a
Use an autoloader for the tests, following the ideas from r72858.
...
The SeleniumTestConstants class was added in r79437
2011-01-01 22:04:14 +00:00
Platonides
439b5a4f65
Follow up r79183 removing global added in r79154
2010-12-29 16:45:16 +00:00
Platonides
4cb81e08f4
Move MediaWikiTestCase class to a new file and load it from phpunit.php
...
This restores the ability to run single tests with
php phpunit.php includes/filename.php
2010-12-29 15:52:07 +00:00
X!
fa0ce7197a
-Set configuration automatically if not set. This allows for evasion of the makefile, ergo, more control.
...
-Remove instances of @covers; they were breaking code-coverage
2010-12-29 05:38:11 +00:00
X!
edbf743aeb
Make MediaWikiParserTest work now in PHPUnit. There are still a few bugs, such as stopping tests if one fails,
...
lack of fuzz testing and other parser test options, and the DB creation is still a little flaky.
A MediaWikiPHPUnitCommand class had to be created to allow for custom CLI parameters.
2010-12-29 02:23:51 +00:00
Happy-melon
8e57be2831
Follow-up r77762 per CR, and an unrelated one-character whitespace fix which doesn't deserve its own revision id... :D
2010-12-16 18:30:15 +00:00
Mark A. Hershberger
640f12cd5e
Repair phpunit.php
2010-12-16 01:32:28 +00:00
Chad Horohoe
23f69f10ed
Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're not strictly maintenance scripts, and some people want to do a selective checkout that doesn't include the tests. There's still debate on whether we should include these in the release downloads, but we had a pretty firm consensus to move this.
2010-12-14 16:26:35 +00:00