background image
<< is_deeply() | Odd User Reactions >>
<< is_deeply() | Odd User Reactions >>
diag()
diag()
Test::More's functions are pretty good about providing
diagnostics.
Sometimes you need more...
diag() lets you display whatever diagnostic information you
want.
Guaranteed not to interfere with Test::Harness
Not a test function
Will not display inside a TODO block
Useful for giving suggestions about tricky failures