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

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

Thread Previous | Thread Next
From:
Adrian Howard
Date:
April 20, 2006 08:01
Subject:
Re: Non-Perl TAP implementations (and diag() problems)
Message ID:
DF202F90-3623-4CBC-A350-EC89BAA99BC9@quietstars.com

On 19 Apr 2006, at 09:02, Ovid wrote:
[snip]
> From a parser standpoint, there's no clean way of distinguishing that
> from what the test functions are going to output.  As a result, I
> really think that "diag" and normal test failure information should be
> marked differently (instead of the /^# / that we see).
[snip]

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.

?

Adrian

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