P is for Practical | |
PerlMonks |
Re: Organising Large Test Suitesby Zaxo (Archbishop) |
on Jun 06, 2004 at 23:31 UTC ( [id://361828]=note: print w/replies, xml ) | Need Help?? |
Test::More's ways of saying ok(), is(), isnt(), cmp_ok(), like(), unlike(), and is_deeply() include the test name as a last argument. See also the diag() function. Test::Simple's ok() does the same. Just put the RT ticket number there with a description. You'll get the test name in the test output, along with some diagnostics in # comments for all but ok(). After Compline,
In Section
Meditations
|
|