Hi Slaven,
recently I received a number of failing test reports from you, for
Plack-App-BeanstalkConsole-0.004:
http://www.cpantesters.org/cpan/report/27614552-c707-11e2-be51-ac14a65f1290
http://www.cpantesters.org/cpan/report/bc294a00-c706-11e2-b547-d1b9f05bb613
http://www.cpantesters.org/cpan/report/976876e6-c706-11e2-b45e-827567d01fb8
http://www.cpantesters.org/cpan/report/089d0ca6-c706-11e2-b644-eee7e73c5bf2
http://www.cpantesters.org/cpan/report/6dd3a9b2-c707-11e2-87dd-f08dfdc235a3
However, there should be *no testing at all* done for this distribution,
(save any reports that are sent manually via cpanm-reporter), because the
first line of Makefile.PL is:
exit 0 if $ENV{AUTOMATED_TESTING};
This is because this distribution requires the presence of a php
executable, and also the Makefile.PL downloads a large file from github --
so to respect github's servers, I'd rather this happen only when the module
is actually going to be used.
Automated CPAN testing is supposed to set the AUTOMATED_TESTING variable:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
"Can I tell if my module is being tested by an automated client (a.k.a. 'smoker')?"
Automated smoke testers should set $ENV{AUTOMATED_TESTING} to a true value. This allows authors to skip certain tests (or include certain tests) when the results are not being monitored by a human being.
One could even go so far as to halt building and testing a distribution under automated testing by exiting with zero at the top of the Makefile.PL or Build.PL file:
exit 0 if $ENV{AUTOMATED_TESTING};
Please could you set AUTOMATED_TESTING in your smokers? thank you!
Karen Etheridge
ether@cpan.org