On 3/28/07, Andy Armstrong <[EMAIL PROTECTED]> wrote:
On 28 Mar 2007, at 17:40, Andy Armstrong wrote:
> you'll probably do something like this:
>
> annotate( { dump => [EMAIL PROTECTED] } );
Actually there'll be another level below dump:
annotate { dump => {'IP Table' => [EMAIL PROTECTED] } };
That really requires me to collect all the data for this table and
then send it to diag. I think I would prefer to output it line by line
as the test runs, maybe with other calls in betwwen:
add_row(...);
#some code
like($result, qr//, "something");
add_row(...);
maybe even provide the table as the output generated
by the various ok() functions
eg.:
ok($trueness, add_row(...));
that would probably give in todays TAP:
ok 1 Name | IP
while it will be something like this in TAP with YAMLish:
ok 1
---
name: Name
ip: IP
Gabor
http://www.pti.co.il/