Re: New qa.perl.org updates

2004-12-16 Thread Ovid
--- Andy Lester <[EMAIL PROTECTED]> wrote:
> 
> Patches, please.  s/html$/pod/ in the URL for the source.

Sorry.  I should have gotten these out sooner.  I was sidetracked.

I've attached patches to add Test::MockModule to the module list and to
add the "use_ok() or die" wording to the testing guidelines.  I will
confess that I was not entirely happy with my wording on the latter.

Cheers,
Ovid

=
Silence is Evil
http://users.easystreet.com/ovid/philosophy/decency.html
Ovid   http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl  http://users.easystreet.com/ovid/cgi_course/

testing-guidelines.pod.diff
Description: testing-guidelines.pod.diff


test-modules.pod.diff
Description: test-modules.pod.diff


Re: New qa.perl.org updates

2004-12-10 Thread Andy Lester
On Fri, Dec 10, 2004 at 10:01:44AM -0800, Ovid ([EMAIL PROTECTED]) wrote:
> I would add Test::MockModule to the test modules.  I've stopped using
> my Sub::Override since I encountered this very useful tool.
> 
> On the test guidelines, perhaps there should be an "or die "
> recommendation after "use_ok".  Life gets pretty miserable if  that
> fails but many subsequent tests pass and  testa # 217 and beyond fail
> because the module didn't load properly.  You can spend hours debugging
> because you didn't see the "use_ok" failure at the top.  (I speak from
> extremely painful personal experience on this.)

Patches, please.  s/html$/pod/ in the URL for the source.

xoxo,
Andy

-- 
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance


Re: New qa.perl.org updates

2004-12-10 Thread Ovid
Two comments:

I would add Test::MockModule to the test modules.  I've stopped using
my Sub::Override since I encountered this very useful tool.

On the test guidelines, perhaps there should be an "or die "
recommendation after "use_ok".  Life gets pretty miserable if  that
fails but many subsequent tests pass and  testa # 217 and beyond fail
because the module didn't load properly.  You can spend hours debugging
because you didn't see the "use_ok" failure at the top.  (I speak from
extremely painful personal experience on this.)

Cheers,
Ovid

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

> http://qa.perl.org/testing-guidelines.html is updated.  So is
> http://qa.perl.org/test-modules.html, with new modules and some
> reorganization.
> 
> xoxo,
> Andy
> 
> 
> -- 
> Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance
> 


=
Silence is Evil
http://users.easystreet.com/ovid/philosophy/decency.html
Ovid   http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl  http://users.easystreet.com/ovid/cgi_course/


New qa.perl.org updates

2004-12-10 Thread Andy Lester
http://qa.perl.org/testing-guidelines.html is updated.  So is
http://qa.perl.org/test-modules.html, with new modules and some
reorganization.

xoxo,
Andy


-- 
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance