RunTest
at the shell prompt. The syntax for the RunTest command when performing a test of your class is:
RunTest -t <testclassname> <testclasslib>
When you start RunTest, you must give at least one of three options: test
,
log
, or start
. To perform a test:
For example, you can launch RunTest from the console in order to execute a test of TSampleObjectSimpleTest in a shared library named
SampleObjectTestLib
with the following command line:
In most cases, you can create a test script that contains the RunTest command along with the necessary options. See "Writing a test script" on page 86 for more information.RunTest -t TSampleObjectSimpleTest SampleObjectTestLib