develooper Front page | perl.qa | Postings from April 2006

Re: Non-Perl TAP implementations (and diag() problems)

Thread Previous | Thread Next
From:
Ovid
Date:
April 20, 2006 08:56
Subject:
Re: Non-Perl TAP implementations (and diag() problems)
Message ID:
20060420155616.45589.qmail@web60824.mail.yahoo.com
--- Adrian Howard <adrianh@quietstars.com> wrote:
> I've thought in the past about about using /^## / for non-test  
> related diagnostics
> 
> ## Start the fribble tests
> ok 1 - fribble foo
> not ok 2 - fribble bar
> #   Failed test 'fribble bar'
> #   in untitled text 2 at line 5.
> #          got: 'baz'
> #     expected: 'bar'
> ## Start the blart tests
> # ok 1 - blart foo
> ... etc ...
> 
> Reads reasonably to me and has the advantage of being backward  
> compatible.

Hmm, I was thinking something more along the lines of ">" or "*" to
make it more visually distinctive, but backward compatibility is a
glorious thing.  I don't mind "##".

Anyone else?

Cheers,
Ovid

-- 
If this message is a response to a question on a mailing list, please send follow up questions to the list.

Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About