On Wed, Jun 10, 2009 at 5:57 PM, Andy Armstrong<a...@hexten.net> wrote:
> On 10 Jun 2009, at 14:07, Michael Peters wrote:
>>
>> Gabor Szabo wrote:
>>
>>> How do you deal with similar situation ?
>>
>> Test::More::Diagnostic lets you output structured YAML with your tests.
>> Not all of the tools in the chain understand this YAML, but those that don't
>> should ignore it equally. It's part of the spec (at least loosely) so it
>> will be supported going forward.
>
>
> Yeah, it doesn't currently support arbitrary diagnostic blocks though -
> which would be my fault :)
>
> I can probably make a release that does within a few days if that's the kind
> of thing that Gabor needs.

I am quite confused and I am not sure what do I really want :-)

I recall that we talked about a possibility to emit yamlish but the last thing
I remember was the discussion about lower or upper case names...
Was there a progress in that subject ?


Anyway here is another thing that I found.
The test script fetches a few rows from a database and prints out a
nicely formatted
table of the values using high quality ascii art:

1  |  3  | foo
1  |  7  | bar

I can just print the array holding this using explain \...@data but that
will lead to
an uprising. The people who need to see this are Java and Matlab programmers.
Any other YAML like output will still be inferior to that nicely
formatted table but I hope
I'll be able to hook up some formater to display that nicely.
Preferably inside Smolder
as that's what we are going to use to collect the reports.

Gabor
ps. This is just my wish list here :-)

Reply via email to