From the CPAN Authors FAQ:
"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};
Hope this helps!
In reply to Re: Detect is my test run by cpantesters
by AppleFritter
in thread Detect is my test run by cpantesters
by OlegG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |