update Tue May 18 12:37:00 PDT 2010
[pkgsrc.git] / devel / p5-Test-Harness / DESCR
1 STOP! If all you want to do is write a test script, consider using
2 Test::Simple. Test::Harness is the module that reads the output from
3 Test::Simple, Test::More and other modules based on Test::Builder. You don't
4 need to know about Test::Harness to use those modules.
5
6 Test::Harness runs tests and expects output from the test in a certain format.
7 That format is called TAP, the Test Anything Protocol. It is defined in
8 Test::Harness::TAP.
9
10 Test::Harness::runtests(@tests) runs all the testscripts named as arguments
11 and checks standard output for the expected strings in TAP format.
12
13 The prove utility is a thin wrapper around Test::Harness.