I'm trying to write a custom tool that runs ruby unit tests with my customizations.

What I need it to do is to load a certain TestCase from given file(through require or whatever), and then run it after doing some calculations and initializations.

Problem is, the moment I require "test/unit" and a test case, it runs immediately.

What can I do with this?

Thanks.