Why is it so critical what the output looks like? The point of a TAP parser is to assemble a data structure representing the test run: then you can emit that information in whatever way, in color and animation if you like, or compare it with other test runs. This *particular* output format is a feature of the "make test"/"prove"-like tool, and it's essential to make it readable for *humans* running the tests in interactive mode, but not necessarily some format that's reparsable by another process into abstract data. So tabular format isn't unreasonable, for example.

That said, I deeply encourage you to make the intermediate abstract test result available for any further processing. How you serialize it is not so important. We've used YAML in Pugs, but Test::TAP::Model doesn't really care. Speaking of which, I've not been following your design, have you considered using that model in the first place?


In reply to Re: Need advice on test output by gaal
in thread Need advice on test output by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.