Add exceptions for protected_titles table.
[mediawiki.git] / t / README
blob2bf42abac7a27065e86f67dcb9a41a5395d37288
1 =head1 NAME
3 F<t> - MediaWiki test tree
5 =head1 DESCRIPTION
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>
17 directory.
19     ln -s ../Test/Test.php .
21 Since the tests are self-contained PHP programs you can run them
22 (Xml.t here) as:
24     php t/inc/Xml.t
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:
33    prove -r t
35 =head1 TODO
37 =over
39 =item *
41 Rewrite the rest of the F<tests/> stuff to use L<Test.php> and move it
42 here
44 =item *
46 Make the parsertests use TAP?
48 =item *
50 Write unit tests for the entire codebase:)
52 =back
54 =cut