On 9 Mar 2007, at 21:57, Michael G Schwern wrote:
http://perl-qa.yi.org/index.php/TAP_diagnostic_syntax

There's already a proposal for this which nobody's found serious fault with. Its, oh, 9 months old now. Its backwards compatible with existing TAP. It both solves the problems of associating diagnostics with a specific test and making them machine parsable. I'm perfectly happy to accept patches for
Test::Builder to support this as an experimental feature.

That looks pretty usable. I wonder if it might be better to package those YAMLish annotations as a special kind of diagnostic

# Normal diagnostic
## got: 1
## expected: 0

That would mean that the annotations would show up even with a current generation harness /and/ that any leakage from the test script to STDOUT that matched /^\w+:/ wouldn't be confused with annotation.

--
Andy Armstrong, hexten.net

Reply via email to