Re: done_testing()

2009-02-21 Thread Michael G Schwern
David E. Wheeler wrote: > On Feb 21, 2009, at 5:44 PM, Michael G Schwern wrote: > >>> Yeah, I'm suggesting this more for a new version of TAP. >> >> It won't work because it's not backwards compatible. > > I care less and less about backwards compatibility every day. Also, > chromatic. There is

Re: done_testing()

2009-02-21 Thread David E. Wheeler
On Feb 21, 2009, at 5:44 PM, Michael G Schwern wrote: Yeah, I'm suggesting this more for a new version of TAP. It won't work because it's not backwards compatible. I care less and less about backwards compatibility every day. Also, chromatic. Technically "ok 1.1" should be read as an unn

Re: done_testing()

2009-02-21 Thread Michael G Schwern
David E. Wheeler wrote: > On Feb 21, 2009, at 11:35 AM, Michael G Schwern wrote: > >> David E. Wheeler wrote: >>> Dot notation? >>> >>> ok 1.1 >>> ok 1.2 >>> ok 2.1 >>> 1..2 >> >> If you don't want any existing TAP parser to be able to read it and delay >> release until they do, sure! >> >> I am t

Re: done_testing()

2009-02-21 Thread David E. Wheeler
On Feb 21, 2009, at 11:35 AM, Michael G Schwern wrote: David E. Wheeler wrote: Dot notation? ok 1.1 ok 1.2 ok 2.1 1..2 If you don't want any existing TAP parser to be able to read it and delay release until they do, sure! I am totally not waiting for TAP to work out sub-plan syntax. Ye

Re: done_testing()

2009-02-21 Thread Michael G Schwern
David E. Wheeler wrote: > Dot notation? > > ok 1.1 > ok 1.2 > ok 2.1 > 1..2 If you don't want any existing TAP parser to be able to read it and delay release until they do, sure! I am totally not waiting for TAP to work out sub-plan syntax. -- 185. My name is not a killing word. -- Th

Re: Testing scripts with expected STDOUT and STDERR in external files

2009-02-21 Thread David Golden
On Sat, Feb 21, 2009 at 5:24 AM, Gabor Szabo wrote: >>> I wonder if there are modules out there that already do this? >>> I could not find any that would fit my needs. Test::Cmd? It's not built on Test::Builder but could be adapted/wrapped. It uses shell redirection to capture output, which sho

Re: done_testing()

2009-02-21 Thread Michael G Schwern
Aristotle Pagaltzis wrote: > * Michael G Schwern [2009-02-20 23:35]: >> And we come back to the beginning: it's all going to be ad hoc >> anyway until TAP formalizes it. Fine for eyeballing. If someone >> wants to scrape the information out they can do it from the >> description (with the usual ca

Re: Testing scripts with expected STDOUT and STDERR in external files

2009-02-21 Thread Gabor Szabo
On Fri, Feb 20, 2009 at 11:30 PM, David E. Wheeler wrote: > On Feb 20, 2009, at 1:23 PM, Gabor Szabo wrote: > >> I wonder if there are modules out there that already do this? >> I could not find any that would fit my needs. > > Test::Output? > > http://search.cpan.org/perldoc?Test::Output > > If