-target
option of RunTest allows you to do polymorphic testing. For example, you start with a class named TSampleObject and you have written a test class called TSampleObjectBaseTest to test your class.
You can then derive a class from TSampleObject called TSampleObjectTwo and use the same test class that you used for the base class without recompiling
your test.
To test TSampleObject, use this command:
RunTest -test TSampleObjectBaseTest SampleObjectTestLib -target TSampleObject TestSamplesLib
RunTest -test TSampleObjectBaseTest SampleObjectTestLib -target TSampleObject2 TestSamplesLib