in reply to How to create testcase executor?

You probably want to use something like Test::Simple, which provides a simple interface and plays well with the rest of Perl's testing modules.