Re: Custom Test::More problem

2007-03-29 Thread Fergal Daly
On 29/03/07, Michael G Schwern <[EMAIL PROTECTED]> wrote: Chris Dolan wrote: > On Mar 28, 2007, at 8:18 AM, Ovid wrote: > >> The second test dies but this is ignored. Change My::Test::More to >> Test::More and the failure is correctly reported. What did I miss in >> My::Test::More? > > If you a

Re: Custom Test::More problem

2007-03-29 Thread Michael G Schwern
Fergal Daly wrote: >> Oh, I see what it is. Funny, I just fixed this exact problem in >> aliased.pm. >> http://rt.cpan.org/Public/Bug/Display.html?id=25293 >> >> Its base.pm. >> >> local $SIG{__DIE__}; >> eval "require $base"; >> >> Test::Builder::Module is loaded which loa

Re: Custom Test::More problem

2007-03-29 Thread David Cantrell
Michael G Schwern wrote: Its for the case where you're subclassing a class which does not have a .pm file. "So don't do that then" -- David Cantrell

Re: Custom Test::More problem

2007-03-29 Thread Adrian Howard
On 29 Mar 2007, at 10:02, David Cantrell wrote: Michael G Schwern wrote: Its for the case where you're subclassing a class which does not have a .pm file. "So don't do that then" Why not - it's bloody useful? Adrian

what was I thinking?

2007-03-29 Thread Kirrily Robert
In September 2001, apparently all aglow in the excitement of all the talk that was going on about testing and whatnot, I wrote a module called CPAN::Test::Reporter. (http://search.cpan.org/~skud/CPAN-Test-Reporter-0.02/) Looking at it, I have no idea what I was thinking or why I thought it was nec

Re: Custom Test::More problem

2007-03-29 Thread Michael G Schwern
Adrian Howard wrote: > > On 29 Mar 2007, at 10:02, David Cantrell wrote: > >> Michael G Schwern wrote: >> >>> Its for the case where you're subclassing a class which does not have >>> a .pm >>> file. >> >> "So don't do that then" > > Why not - it's bloody useful? Ya know, I had written exactly

CPANTS spelling error, and incomplete coverage

2007-03-29 Thread David Cantrell
I just looked at the CPANTS thingy for one of my modules: http://cpants.perl.org/dist/XML-DoubleEncodedEntities Apparently I should add a section to my documentation called "LICENSE". There is already one called "COPYRIGHT and LICENCE". Note that the word is spelt correctly in my version -

Re: CPANTS spelling error, and incomplete coverage

2007-03-29 Thread Thomas Klausner
Hi! On Thu, Mar 29, 2007 at 12:59:32PM +0100, David Cantrell wrote: > I just looked at the CPANTS thingy for one of my modules: > http://cpants.perl.org/dist/XML-DoubleEncodedEntities > > Apparently I should add a section to my documentation called "LICENSE". > There is already one called "CO

use Test::Custom;

2007-03-29 Thread Ovid
So often you open up a test suite and see 20 test programs starting with something like this: use Test::More tests => 23; use Test::Differences; use Test::Exception; That's awfully repetitive and if you have a standard set of testing tools, that gets annoying. Instead, I'd like to do somet

Re: CPANTS spelling error, and incomplete coverage

2007-03-29 Thread Michael G Schwern
David Cantrell wrote: > I just looked at the CPANTS thingy for one of my modules: > http://cpants.perl.org/dist/XML-DoubleEncodedEntities > > Apparently I should add a section to my documentation called "LICENSE". > There is already one called "COPYRIGHT and LICENCE". Note that the > word is s