On Aug 15, 2006, at 11:29 AM, Michael Peters wrote:
I think this is the most important benefit. Test runs aren't bound
to the single
time it was run with a certain harness. They can be captured and
viewed later by
the same developer or shared among developers. If the report is
descriptive
enough (catching STDERR, etc) then it can be a great tool for
debugging and
would go hand-in-hand with a bug tracker. Imagine getting a bug
report of your
test suite failing along with the full TAP output of the test run.
It's a good thing. I've got a tool we use here at Yahoo! up on CPAN
(App::SimpleScan for the interested). One of its plugins is a
"snapshot" function. When a test fails, simple_scan takes a snapshot
and dumps a diag into the TAP stream. It's easy to post-process this
so that the resulting file can be viewed in a browser with hotlinks
to the snapshots. Our developers like it a lot.
--- Joe M.