Re: cpantesters system setting AUTHOR_TESTING=1

2013-11-06 Thread David Cantrell
On Tue, Nov 05, 2013 at 08:11:19PM -0500, Nigel Horne wrote:

 Prerequisites is set to 'follow' in MyConfig.pm.  I have now stopped 
 setting it to follow when AUTHOR_TESTING is set.  Has the noise stopped?

You could unset AUTHOR_TESTING in the environment and use something
like this in a distroprefs file to only turn it on when running the
tests for your own code:

match:
  distribution: ^NHORNE/
test:
  env:
AUTHOR_TESTING: 1

See 
https://metacpan.org/pod/CPAN#Configuration-for-individual-distributions-Distroprefs

-- 
David Cantrell | http://www.cantrell.org.uk/david

 Repent through spending


Re: cpantesters system setting AUTHOR_TESTING=1

2013-11-05 Thread Nigel Horne

On 05/11/13 13:28, Karen Etheridge wrote:

Hi Nigel,
I noticed that you've been setting AUTHOR_TESTING=1 in your automated
testing system, e.g. in this report:
http://www.cpantesters.org/cpan/report/3cda2ae8-3bf6-11e3-b8f6-b09be320165c

That's because it's actually testing my own modules.  I wonder if I can
set AUTHOR_TESTING on my modules, but not on those it loads. Let me
think about that one.

Is this some sort of travis-like system that installs all prereqs first, then
tests your modules?  If so, you should not set AUTHOR_TESTING until after all
prereqs have been satisfied.


Prerequisites is set to 'follow' in MyConfig.pm.  I have now stopped 
setting it to follow when AUTHOR_TESTING is set.  Has the noise stopped?


Regards,

-Nigel




smime.p7s
Description: S/MIME Cryptographic Signature


Re: cpantesters system setting AUTHOR_TESTING=1

2013-11-03 Thread Nigel Horne

Hi Nigel,
I noticed that you've been setting AUTHOR_TESTING=1 in your automated
testing system, e.g. in this report:
http://www.cpantesters.org/cpan/report/3cda2ae8-3bf6-11e3-b8f6-b09be320165c


That's because it's actually testing my own modules.  I wonder if I can 
set AUTHOR_TESTING on my modules, but not on those it loads. Let me 
think about that one.


If you are to set this flag, you should also install any indicated
'develop' prerequisites, as otherwise the tests cannot be expected to pass,
and the failing report is useless.

e.g. in the report I reference above, all the tests fail because there is
an additional module loaded when AUTHOR_TESTING=1, which is in develop
prereqs but you have failed to install it.

thanks,
Karen Etheridge
et...@cpan.org

-Nigel


Re: cpantesters system setting AUTHOR_TESTING=1

2013-11-03 Thread David Oswald
Meanwhile it's probably less than ideal to generate FAILs that
shouldn't.  End users might see a smattering of FAILs as a sign that a
module isn't ready for prime time.

On Sun, Nov 3, 2013 at 5:28 PM, Nigel Horne n...@bandsman.co.uk wrote:
 Hi Nigel,
 I noticed that you've been setting AUTHOR_TESTING=1 in your automated
 testing system, e.g. in this report:

 http://www.cpantesters.org/cpan/report/3cda2ae8-3bf6-11e3-b8f6-b09be320165c


 That's because it's actually testing my own modules.  I wonder if I can set
 AUTHOR_TESTING on my modules, but not on those it loads. Let me think about
 that one.


 If you are to set this flag, you should also install any indicated
 'develop' prerequisites, as otherwise the tests cannot be expected to
 pass,
 and the failing report is useless.

 e.g. in the report I reference above, all the tests fail because there is
 an additional module loaded when AUTHOR_TESTING=1, which is in develop
 prereqs but you have failed to install it.

 thanks,
 Karen Etheridge
 et...@cpan.org

 -Nigel



-- 

David Oswald
daosw...@gmail.com