Tips for Visual Studio .NET Users (Coverage Monitoring)

Related Topics

§          If you chose at installation to integrate PureCoverage in Microsoft Visual Studio, you have instant access to all of PureCoverage's program monitoring capabilities from within Visual Studio.

§          During installation, a PurifyPlus menu and submenus are automatically added to Visual Studio. The first time you use PureCoverage in Visual Studio, display the PureCoverage menu by using Visual Studio's PurifyPlus > PureCoverage menu.

§          The PureCoverage integration is not automatically turned on; you must turn it on, or engage it, after you start Visual Studio if you want to monitor program coverage.

§          For information on the recommended settings for Visual Studio, click images\shortcut.gif.

§          The PureCoverage menu includes the following default set of tools:

images\coveragevsnettb.gif

images\vsnet_cov_engage.gif

Engage/Disengage PureCoverage Integration. Turns on or off the PureCoverage integration for monitoring .NET managed code. With the PureCoverage integration engaged, a managed program is automatically monitored when you build or run it.

Do not use this tool for monitoring native-compiled code. Launch native-code programs in Visual Studio by using the Run Program dialog box.

images\vsnet_cov_exe.gif

PureCoverage Executable Settings. Changes PureCoverage's executable settings. PureCoverage uses executable settings each time you run the current program.

images\vsnet_cov_def.gif

PureCoverage Default Settings. Changes PureCoverage's default settings. PureCoverage uses default settings for any program you run, unless overridden by executable-specific settings.

images\vsnet_cov_pref.gif

PureCoverage Preferences. Changes PureCoverage's preferences. PureCoverage uses preferences to control the presentation of its windows and data.

images\vsnet_cov_filtermgr.gif

Display the Filter Manager. Displays the Filter Manager dialog box

images\vsnet_cov_browser.gif

Display Coverage Browser. Displays coverage data, by modules and files, associated with the selected run.

images\vsnet_cov_funclist.gif

Display Function List. Displays a list of the functions in the current dataset for the selected run.

images\vsnet_cov_annsource.gif

Display Annotated source. Displays source code annotated with coverage data for the selected file or function.

images\vsnet_cov_runsumm.gif

Display Run Summary. Displays both numerical and graphical information reflecting the progress of your testing, and other information about the selected run.

images\vsnet_cov_pause.gif

Pause or resume recording. Pauses recording of code coverage data for the current run. Click the tool again to resume data recording.

images\vsnet_cov_clear.gif

Clear data. Deletes all code coverage data recorded up to that point for the current run. PureCoverage continues to record data.

images\vsnet_cov_snap.gif

Snapshot data. Captures code coverage data recorded up to that point for the current run and creates a corresponding Snapshot entry in the PurifyPlus Navigator. PureCoverage continues to record data.

images\vsnet_cov_diff.gif

Compare runs. Compares one run to another run and creates a Diff entry in the PurifyPlus Navigator. PureCoverage displays coverage differences in the Annotated Source window.

images\vsnet_cov_merge.gif

Merge runs. Merges one or more runs with the current run to create a new run, and creates a corresponding Merge entry in the PurifyPlus Navigator.

images\vsnet_cov_expandline.gif

Expand. Expands the selected lines in the Coverage Browser window.

images\vsnet_cov_expandbranch.gif

Expand branch. Expands all branches for the selected lines in the Coverage Browser window.

images\vsnet_cov_collapse.gif

Collapse. Collapses the selected lines in the Coverage Browser window.

(C) Copyright IBM Corporation 1993, 2010.