I am dealing with a module which has a test.pl using Test.pm Specifically I am talking about HTML::Template for which I try to act as a hoplite.
I am trying to add a bunch of tests in t/ using Test::More but in order to make sure we don't lose any previous test we would like to keep the test.pl file as it is. The problem is that when running make test it first executes the t/*.t tests and only then the test.pl so I don't see the printout from Harness as there are lots of OK lines printed out from the test.pl. Scrolling back would be very boring. And does not scale well with CPAN.pm I guess. So first I thought to try to run test.pl before the t/-tests. Hence the subject. How to do this is still interesting, though maybe not necessary: Later I played a bit with the t-tests to see what happens if they fail. I saw that all of the cases I checked when the t/* test failed the test.pl suit did not run at all. Meaning that I got the error message right in my face. This is a good thing. My questions: can I rely on this ? Can I be sure that no matter what error message I get in the t/* tests I will see them ? Thinking a bit further, I still have a problem as when all tests are successful I still would like to see the printouts of the skipped tests from the t/ directory. So maybe after all I should change the order of test.pl and t/* if that's possible. your help is appreciated Gabor