OneTest Embedded 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 HCL OneTest Embedded Studio.
Both OneTest Embedded and Microsoft Visual Studio must be installed on the same machine.
To install the Microsoft Visual Studio 6.0 plug-in:
From the Windows Start menu, select Programs > HCL Software > HCL Software, HCL OneTest Embedded, Tools and HCL OneTest Embedded Plug-in for Microsoft Visual Studio Install to add the new menu items to Microsoft Visual Studio
To uninstall the plug-in:
From the Windows Start menu, select Programs > HCL Software > HCL Software, HCL OneTest Embedded, Tools and HCL OneTest Embedded Plug-in for Microsoft Visual Studio Uninstall to remove the plug-in from Microsoft Visual Studio.
To install the Microsoft Visual Studio .NET plug-in:
From the Windows Start menu, select All Programs > HCL Software > HCL OneTest Embedded > Tools > TDP Editor.
In the TDP Editor, select File > Open and open cvisual7.xdp located in the <install_directory>/ targets/xml directory.
Under Basic Settings > For All, set the INSTALL_PLUGIN key to TRUE.
Save cvisual7.xdp and close the TDP Editor.
To uninstall the plug-in:
From the Windows Start menu, select All Programs > HCL Software > HCL OneTest Embedded > Tools > TDP Editor.
In the TDP Editor, select File > Open and open cvisual7.xdp located in the <install_directory>/ targets/xml directory.
Under Basic Settings > For All, set the INSTALL_PLUGIN key to FALSE.
Save cvisual7.xdp and close the TDP Editor.
The HCL OneTest Embedded setup for Microsoft Visual Studio tool allows you to set up and activate coverage types and instrumentation options for HCL OneTest Embedded Studio 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:
OneTest Embedded Viewer: this launches the Studio user interface, providing access to reports generated by HCL OneTest Embedded runtime analysis and test features.
OneTest Embedded Options: this launches the 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 OneTest Embedded 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