diff options
author | Alexandre Emsenhuber <ialex@users.mediawiki.org> | 2008-03-28 16:11:36 +0000 |
---|---|---|
committer | Alexandre Emsenhuber <ialex@users.mediawiki.org> | 2008-03-28 16:11:36 +0000 |
commit | a41b7035dce937a197d655edb7acdb3717058c9e (patch) | |
tree | 183fb196d88d11d51c55399171600aec4ff9b4ee /t/README | |
parent | e932be4752da9e396eaa01c5263be69356b76ab5 (diff) | |
download | mediawikicore-a41b7035dce937a197d655edb7acdb3717058c9e.tar.gz mediawikicore-a41b7035dce937a197d655edb7acdb3717058c9e.zip |
Some tweaks to the test tree:
* Moved Test.php to t/Test.php
* Updated t/inc/Languages.t so that it doesn't throw a fatal error because $wgMemc isn't set when creating the Laguage object
* Added t/inc/Parser.t, a version of the parser tests with TAP output. I modified some methods of the ParserTests class so that i can extend it in t/inc/Parser.t to modify the format of the output.
* Killed ending ?> tags in PHP tests
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/32547
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -6,17 +6,15 @@ F<t> - MediaWiki test tree This is the MediaWiki test tree (well, one of them), tests in this directory are self-contained programs that produce TAP output via the -F<Test.php> module (/trunk/Test/Test.php) (see +F<Test.php> module (/trunk/phase3/t/Test.php) (see http://search.cpan.org/~petdance/TAP-1.00/TAP.pm#THE_TAP_FORMAT for information on the TAP format). =head1 Running the tests -You'll need F<Test.php> to run the tests, it lives in the -F<trunk/Test> directory and can be copied or linked to the F<phase3> -directory. +To run all tests, you can run - ln -s ../Test/Test.php . + make test Since the tests are self-contained PHP programs you can run them (Xml.t here) as: |