Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Eliminating duplicated code in multiple test scripts using Test::Moreby TomDLux (Vicar) |
on Jul 22, 2013 at 04:44 UTC ( [id://1045576]=note: print w/replies, xml ) | Need Help?? |
The modern way is to simply invoke use Test::More; at the top, and at the end have done_testing(). If there were problems, they would generate error messages, which are detected by TAP; if there are no errors, the system counts up the successful tests and uses that in the final message. As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|