To create a test log, use the logging options to RunTest.
- Start RunTest with the
-log on
option.
This turns on test logging.
- To use a test log with a different name, start RunTest with the
-log
option followed by the filename.
- Start RunTest again and specify the
-log
option followed by the filename as well as the test class name, and library name, and any other options you need to use.
Use the -log
option with subsequent RunTest commands to log the output to a file. RunTest logs output only when you specify the -log
option in the command line for the test.
- Start RunTest with the -log off option alone to disable logging.
To resume logging test output, you must start RunTest again with the -log on option.
The following two commands start logging and perform a test and log the output to the TestLog file.
RunTest -log on
RunTest -log -t TSampleObjectLengthTest SampleObjectTestLib -o -n 66
The following two commands start logging and perform a test and log the output to a file named SampleTestLog.
RunTest -log on
RunTest -log SampleTestLog -t TSampleObjectLengthTest SampleObjectTestLib -o -n 66
This command disables logging:
RunTest -log off
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker