Test RealTime provides a special setup tool to configure runtime analysis tools with Microsoft Visual Studio 6.0.
Note Integration with Microsoft Visual Studio is only available with the Windows version of the product.
The Rational Test RealTime Setup for Microsoft Visual Studio tool allows you to set up and activate coverage types and instrumentation options for Test RealTime runtime analysis features, without leaving Microsoft Visual Studio.
To run the product Setup for Microsoft Visual Studio:
In Microsoft Visual Studio, two new items are added to the Tools menu:
Test RealTime Viewer: this launches the Test RealTime user interface, providing access to reports generated by Test RealTime runtime analysis and test features.
Test RealTime Options: this launches the Rational Setup for Microsoft Visual Studio tool.
The following commands are available:
Apply: Applies the changes made
OK: Apply the choices made and leave the window
Enable or Disable: Enable or Disable the runtime analysis tools
Cancel: Cancels modifications
See About Code Coverage and the sections about coverage types.
Function instrumentation:
Select None to disable instrumentation of function inputs, outputs and termination instructions.
Select Functions to instrument function inputs only.
Select Exits to instrument function inputs, outputs and termination instructions.
Function calls instrumentation (C only):
Select None to disable function call instrumentation.
Select Calls to enable function call instrumentation.
Block instrumentation
Select None to disable block instrumentation.
Select Statement Blocks to instrument simple blocks only.
Select Implicit Blocks to instrument simple and implicit blocks.
Select Loops to instrument implicit blocks and loops.
Condition instrumentation (C only)
Select None to disable condition instrumentation
Select Basic to instrument basic conditions
Select Modified/Multiple to instrument multiple
Select Forced to instrument forced multiple conditions
No Ternaries Code Coverage: when this option is selected, simple blocks corresponding for the ternary expression true and false branches are not instrumented
Instrumentation Mode: see Information Modes for more information.
Pass mode: allows you to distinguish covered branches from those not covered.
Count mode: The number of times each branch is executed is displayed in addition to the pass mode information in the coverage report.
Compact mode: The compact mode is similar to the Pass mode. But each branch is stored in one bit instead of one byte to reduce overhead.
Dump: this specifies the dump mode:
Select None to dump on exit of the application
Select Calling to dump on call of the specified function
Select Incoming to dump when entering the specified function
Select Returning to dump when exiting from the specified function
Static Files Directory: allows you to specify where the .fdc and .tsf files are to be generated
Runtime Tracing: this option activates the Runtime Tracing runtime analysis feature
Memory Profiling: this option activates the Memory Profiling runtime analysis feature
Performance Profiling: this option activates the Performance Profiling runtime analysis feature
Other: allows you to specify additional command-line options that are not available using the buttons. See the Test RealTime Reference Manual for a complete list of Instrumentor options.
Related Topics
Using Runtime Analysis Features | Importing Files from a Microsoft Visual Studio Project file | Working with Rational Rose RealTime | Working with Rational ClearQuest | Working with Rational ClearCase | Working with Rational TestManager