NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
useful example (Score:1)
This was a useful example, Ovid.
I agree being able to skip declaring a plan inside of a subtest would be a nice feature.
the summary line: before or after the subtest? (Score:1)
I tried using this today and noticed another detail: The subtest name is printed *after* the sub-test output. I expected that it would be printed *before* the output, as it appears in the test.
I don't know if this change is possible with the TAP structure or not.
Re: (Score:2)
You'd have to block the entire subtest output until the final test is done and then print the summary line followed by the subtests. If you have long-running tests/nested subtests, your test suite would repeatedly appear to freeze.
Or are you just thinking the name should be printed first and then reprinted after the test, along with the ok/not ok result?