Subject: | Use t/*.t instead of test.pl |
The output of test.pl is unparsed during module installation. If the test fails "make test" will still succeed and automated installs (such as done via the CPAN shell) will continue in spite of failed tests. In other words, if a human isn't looking the test.pl output is worthless. Sorta takes the automation out of automated testing.
Solution: rename test.pl as t/something.t. The output of .t files is parsed and a failed test will cause "make test" to fail as desired.