For some reason I think of Test::LectroTest. I don't have a good example, but it might help you.
In reply to Re: Testing and combinations by chromatic in thread Testing and combinations by talexb