Re: Test::Builder::STDOUT ?

2005-07-28 Thread Michael G Schwern
On Fri, Jul 29, 2005 at 02:49:48AM +0100, Adrian Howard wrote: > Obviously won't work if your test scripts aren't written using T::B, > but that's not a problem I hit very often. > > Greasy hack? Obviously - but it seems to do the job. I'm tempted to > throw it at CPAN :-) > > Is there a bett

Re: Test::Builder::STDOUT ?

2005-07-28 Thread chromatic
On Fri, 2005-07-29 at 02:49 +0100, Adrian Howard wrote: > I've been pondering custom test runners recently and have hit the > familiar problem of Test::Harness::Straps not capturing STDERR, so > missing the diagnostics that Test::Builder outputs. > Is there a better way I'm missing? If you c

Test::Builder::STDOUT ?

2005-07-28 Thread Adrian Howard
I've been pondering custom test runners recently and have hit the familiar problem of Test::Harness::Straps not capturing STDERR, so missing the diagnostics that Test::Builder outputs. A moderately evil solution occurred, and I now have a Test::Builder::STDOUT on my box that just does:

Re: [ANNOUNCE] Test::Simple/More/Builder 0.60_01

2005-07-28 Thread Michael G Schwern
On Thu, Jul 28, 2005 at 05:48:58PM -0500, Peter wrote: > So, the way I would go about using this would be something like this? > > my $obj=new SomeObj(); > isa($obj, "SomeObj") or BAIL_OUT("It wasn't my object :("); isa_ok() but you get the idea. You call it when you think the code is so busted

Re: [ANNOUNCE] Test::Simple/More/Builder 0.60_01

2005-07-28 Thread Peter
Michael G Schwern wrote: * Added the long delayed BAIL_OUT to Test::More. So, the way I would go about using this would be something like this? my $obj=new SomeObj(); isa($obj, "SomeObj") or BAIL_OUT("It wasn't my object :("); --Peter

[ANNOUNCE] Test::SerialFork

2005-07-28 Thread Peter Haworth
The uploaded file Test-SerialFork-0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/P/PM/PMH/Test-SerialFork-0.01.tar.gz size: 3891 bytes md5: 087b258311b0265ad96946bfd7feb0e9 This module allows you to run the same test multiple times, with different parameters. The forking isol

Re: [PATCH] recreatable shuffled tests for "prove"

2005-07-28 Thread David Cantrell
demerphq wrote: Whose command line? Mine doesnt by default come with xargs. I expect it didn't come with perl either, yet you seem to have managed to install that yourself. -- David Cantrell