Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Running a set of tests twiceby xdg (Monsignor) |
on Dec 09, 2005 at 12:05 UTC ( [id://515516]=note: print w/replies, xml ) | Need Help?? |
You might want to look at Test::Class and the section on "Extending Test Classes by Inheritance". For a more manual approach, what I've often found helpful when I feel like I'm needing identical tests is just creating my testing functions in a helper module that takes an object to be tested (or even just a class name) and a prefix for the test label.
Does that do what you were looking for? Or did you mean something different by "comprehensive output"? -xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|