This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Did not get that has_utf8/this_utf8 fix right last time, another spot
[perl5.git] / t / README
CommitLineData
b25e12d2 1This is the perl test library. To run all the tests, just type './TEST'.
8d063cd8
LW
2
3To add new tests, just look at the current tests and do likewise.
4
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 '#'.
10
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 perlbug@perl.org.
b25e12d2
AD
17
18Tests in the base/ directory ought to be runnable with plain miniperl.
19That is, they should not require Config.pm nor should they require any
20extensions to have been built. TEST will abort if any tests in the
21base/ directory fail.