And along the way you've thrown away all that nice information...

I haven't; it's part of the diagnostic information emitted by use_ok().

The biggest advantage for me is that failures of this type get captured and recorded in the same way as all other test failures; they go through the uniform interface of TAP where my existing toolchain needs no modification to highlight these errors.


In reply to Re^8: Does anybody write tests first? by chromatic
in thread Does anybody write tests first? by amarquis

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