Re: TAP - Test::More - fork

2011-11-15 Thread Buddy Burden
Schwern, On Thu, Nov 10, 2011 at 5:57 PM, Michael G Schwern wrote: > On 2011.11.10 4:59 PM, Buddy Burden wrote: >> Does that do anything?  I didn't think prove respected the shebang >> line.  Anyway, I thought the -w to prove would be effectively doing >> that all along. > > Perl respects the *op

Re: Problem with running lots of tests (I think)

2011-11-15 Thread Buddy Burden
Guys, Okay, just to follow-up in case anyone cared what the resolution on this one was, changing the loop full of ok()s to one giant pass() or fail() per loop fixed _everything_. Plus it runs a lot faster now. I know I've seen test suites that do thousands and thousands of tests, but they must b

Smoker setup to compare old vs new versions?

2011-11-15 Thread Michael G Schwern
I'd like a smoker setup which can do two things: 1) Run smokes for all the Test:: modules. 2) Compare the results between two different installed versions of Test::More. This will allow me to smoke Test::Builder 1.5 against CPAN, see what it's broken and try to fix it. I've never used the CPAN s

Re: Discuss change of namespace Test::Builder2 -> TB2?

2011-11-15 Thread David Cantrell
On Mon, Nov 14, 2011 at 12:13:45PM -0800, Michael G Schwern wrote: > Besides, "tee bee two" rolls off the mouth nicely and TB:: is a bit too short. Also I'd expect TB::* to be something to do with tuberculosis. -- David Cantrell | Cake Smuggler Extraordinaire Vegetarian: n: a person who, d

Re: Dual life t/test.pl?

2011-11-15 Thread Nicholas Clark
This was suggested previously in 2008 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-06/msg00912.html On Mon, Nov 14, 2011 at 04:59:57PM -0800, Michael G Schwern wrote: > Having a parallel and featureful testing system is very useful. I use it to > test Test::More (in the Test-Build

Re: Discuss change of namespace Test::Builder2 -> TB2?

2011-11-15 Thread Leon Timmermans
On Mon, Nov 14, 2011 at 4:11 AM, Michael G Schwern wrote: > I have written "Test::Builder2" more times than I can count. > > Wait, I can count them.  It occurs at least 1280 times in the distribution. > That's 18,000 keystrokes.  19,000 if you count shift.  It gets a little > tiresome.  That's jus

Re: Discuss change of namespace Test::Builder2 -> TB2?

2011-11-15 Thread Elliot Shank
On 11/15/11 8:40 AM, Leon Timmermans wrote: I'm not seeing the point really. By this logic we can reduce all frameworks on CPAN to some three letter acronym. To be honest I don't think Test::Builder is used directly often enough to justify that. I'm against abbreviation; it makes things harder

Re: Smoker setup to compare old vs new versions?

2011-11-15 Thread David Golden
On Tue, Nov 15, 2011 at 8:28 AM, Michael G Schwern wrote: > I've never used the CPAN smoker software before and I'm hoping somebody has a > recipe? Regression testing is less well developed. As far as I know, people have rolled their own. I have some poorly documented tools I used to use to reg

Pod-Perldoc needs tests. You can help.

2011-11-15 Thread brian d foy
I've taken over Pod-Perldoc and was surprised to find that it has virtually no tests. When I started, it had several calls to pass() and a checked that three modules loaded. You can help change that. There are many interesting test challenges here. For instance, Pod::Perldoc::ToMan, perhaps the mo

Re: Dual life t/test.pl?

2011-11-15 Thread David E. Wheeler
On Nov 15, 2011, at 6:43 AM, Jerry D. Hedden wrote: >> Other than people writing test modules, who would find it useful? > > FWIW, threads and threads::shared use test.pl in their test > suites. This seems to be historical and related to the fact > that older versions of Test::More didn't work w

Re: Dual life t/test.pl?

2011-11-15 Thread Jerry D. Hedden
On Tue, Nov 15, 2011 at 09:34, Nicholas Clark wrote: > This was suggested previously in 2008 > > http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-06/msg00912.html > > On Mon, Nov 14, 2011 at 04:59:57PM -0800, Michael G Schwern wrote: >> Having a parallel and featureful testing system is

Re: TAP - Test::More - fork

2011-11-15 Thread Michael G Schwern
On 2011.11.15 1:01 AM, Buddy Burden wrote: > I did not know this ... just to be super-clear, obviously I know that > if I have script.pl and it starts with > > #! /usr/bin/perl -w > > and I make it executable and run it directly, I get perl -w. But > you're saying that even if I type: > >

Re: Problem with running lots of tests (I think)

2011-11-15 Thread Michael G Schwern
On 2011.11.15 1:14 AM, Buddy Burden wrote: > Okay, just to follow-up in case anyone cared what the resolution on > this one was, changing the loop full of ok()s to one giant pass() or > fail() per loop fixed _everything_. Plus it runs a lot faster now. I > know I've seen test suites that do thous

Re: Discuss change of namespace Test::Builder2 -> TB2?

2011-11-15 Thread Michael G Schwern
On 2011.11.15 6:40 AM, Leon Timmermans wrote: > I'm not seeing the point really. By this logic we can reduce all > frameworks on CPAN to some three letter acronym. To be honest I don't > think Test::Builder is used directly often enough to justify that. Test::Builder was just one monolithic module

Re: Dual life t/test.pl?

2011-11-15 Thread Michael G Schwern
First thing to clarify, I don't really envision this being turned into a CPAN module. That would be directly against its purpose. The primary purpose here is to separate and focus development and provide a point for module authors to copy it into their project. It probably will *not* be released

Task: Write a TAP v12 formatter for Test::Builder1.5

2011-11-15 Thread Michael G Schwern
I have an important task for getting Test::Builder 1.5 stable. Test::Builder 1.5 outputs TAP version 13. There are minor formatting changes including a TAP version header and changes to the ending commentary. A lot of tests look at this output and so they break. Rather than make everybody chang