--- Andy Lester <[EMAIL PROTECTED]> wrote:

> 
> On Mar 5, 2007, at 8:16 AM, Ovid wrote:
> 
> > Sounds reasonable.  I'm planning on doing a new dev release tonight
> > (pretty much what's in Subversion right now), so it won't be in
> there
> > right away, but I do like this idea.
> 
> 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. :-(

Good point.  How about, if an .rc file is used, the output of runtests
is something like:

  shared_cp $ runtests -lrq

  Using .rc file:  /home/ovid/.runtestsrc

  t/cp_demo_lib.....................ok   
  t/cp_lib..........................ok     
  t/db_connection...................ok   
  t/dh_password.....................ok   
  t/dh_server.......................ok   
  ...

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.

Thoughts?

Cheers,
Ovid

--

Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Reply via email to