# from Ovid
# on Monday 05 March 2007 06:26 am:

>--- Andy Lester <[EMAIL PROTECTED]> wrote:
>> I'm very wary of potentially hidden files causing changes to whether
>> my tests pass or not.  "Gee, these tests pass for me, but not for
>> you..." caused by a hidden .rc file. :-(

Sure, but that might be the user's fault and/or preference.  I suppose 
somebody might be picky enough to refuse to install a module which had 
not planned all of its tests, but that should be their problem.

Depending on what it does, Ovid's suggested notice might be necessary.

>  Using .rc file:  /home/ovid/.runtestsrc
...
>If color output is supported, then we go ahead and make that bold and
>in a different color.
>
>We get the convenience of customizing our test behavior but the safety
>of always being warned about it.

It would be nice to be able to use an rc file from the current 
directory.  E.g. you could have it in svn, but in the MANIFEST.skip so 
that removes the warnings/errors for those installing the code.  I've 
never liked modules that shipped enabled pod/etc tests in their t/.  I 
prefer that sort of kwalitee/meta stuff to be checked once before it 
ships and not while I'm trying to install it.

Aside:  available values of "warn" or "die" for various options might 
give the necessary granularity.

--Eric
-- 
"I've often gotten the feeling that the only people who have learned
from computer assisted instruction are the authors."
--Ben Schneiderman
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to