Subject: | All PASS reports are fails, really |
While watching cpantesters results I came across this table:
http://analysis.cpantesters.org/reports_by_field?SUBMIT_xxx=Submit&distv=Plack-Server-AnyEvent-Server-Starter-0.00001&field=qr%3A((%3Fi%3A.*could.%3Fn.t+find.*))
It shows that all PASS reports were actually due to skipped tests.
On the other hand, I found "failed to exec plackup" in the sample of
FAIL reports I peeked into. This is probably due to the fact that the
test script expects plackup to be found without a path.
On my system I could get the test to work by composing $plackup from the
directory of $^X and "plackup" and filling that into the place where now
"plackup" alone is hardcoded.
I think the $PATH variable should not be found in perl tests at all.
Everything should be based on finding the perl executable and composing
thing based on that. That's because real developers have plenty of perls
in the PATH. Or maybe only one tiny perl but not the one we're currently
testing.
HTH && Thanks && Regards,