From: Rafael Garcia-Suarez Date: Fri, 5 Jul 2002 12:46:22 +0000 (+0000) Subject: Precisions and updates about running and writing tests. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a266333affe1fc2ec17a87cfc810488a74e6665c;p=p5sagit%2Fp5-mst-13.2.git Precisions and updates about running and writing tests. p4raw-id: //depot/perl@17403 --- diff --git a/t/README b/t/README index b4b1f53..a20b481 100644 --- a/t/README +++ b/t/README @@ -1,8 +1,11 @@ -This is the perl test library. To run most of the tests, just type './TEST' -(which will not run the tests residing in lib/ or ext/. In order to run -all of the tests type 'make test' from the build direcotory above t/). +This is the perl test library. To run the test suite, just type './TEST' +or 'make test' from the build directory above t/. See also the section +"Special Make Test Targets" in pod/perlhack.pod to learn about other +specific test commands. To add new tests, just look at the current tests and do likewise. +The library t/test.pl provides some utility functions that you can use +in most tests, except in the most basic ones. If a test fails, run it by itself to see if it prints any informative diagnostics. If not, modify the test to print informative diagnostics.