This is a live mirror of the Perl 5 development currently hosted at
Sections on writing tests & patching core mods
[perl5.git] / t / README
b25e12d2 1This is the perl test library. To run all the tests, just type './TEST'.
3To add new tests, just look at the current tests and do likewise.
5If a test fails, run it by itself to see if it prints any informative
6diagnostics. If not, modify the test to print informative diagnostics.
7If you put out extra lines with a '#' character on the front, you don't
8have to worry about removing the extra print statements later since TEST
9ignores lines beginning with '#'.
774d564b 11If you know that Perl is basically working but expect that some tests
12will fail, you may want to use Test::Harness thusly:
bbad3607 13 ./perl -I../lib harness
774d564b 14This method pinpoints failed tests automatically.
bbad3607 15
e22791c4 16If you come up with new tests, please send them to
18Tests in the base/ directory ought to be runnable with plain miniperl.
19That is, they should not require nor should they require any
20extensions to have been built. TEST will abort if any tests in the
21base/ directory fail.