3 F<t> - MediaWiki test tree
7 This is the MediaWiki test tree (well, one of them), tests in this
8 directory are self-contained programs that produce TAP output via the
9 F<Test.php> module (/trunk/Test/Test.php) (see
10 http://search.cpan.org/~petdance/TAP-1.00/TAP.pm#THE_TAP_FORMAT for
11 information on the TAP format).
13 =head1 Running the tests
15 You'll need F<Test.php> to run the tests, it lives in the
16 F<trunk/Test> directory and can be copied or linked to the F<phase3>
19 ln -s ../Test/Test.php .
21 Since the tests are self-contained PHP programs you can run them
26 That'll give you the raw TAP output, but what you probably want is to
27 use a TAP formatter such as L<prove(1)>:
29 prove t/inc/Xml.t # add -v for the verbose version
31 or to run all the tests:
41 Rewrite the rest of the F<tests/> stuff to use L<Test.php> and move it
46 Make the parsertests use TAP?
50 Write unit tests for the entire codebase:)