Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

What specific functionality does the "Instrument Selected Source File(s)" Check Box have?

Options
choner22
choner22 Posts: 15

By default, when a file is imported into an Eclipse Project, this box is checked.

I have looked in your documentation to try to get a specific idea on what "Instrumentation" means and what impact it will have on things like code coverage, static analysis, stubability, etc.

For example, if I don't want a file included in code coverage metrics, I can uncheck this box. But I also want to maintain the stubs that I am setting inside the file.

Will checking this box allow me to do that, or does it eliminate all Parasoft Functionality from the code? What exactly does "Instrumentation" mean in this case and what impacts/limitations does it have on the user?

Comments

  • Mirek
    Mirek Posts: 141 admin
    Options

    "Instrument Selected Source File(s)" check box enables/disables all instrumentation features for selected file. When the check box is unchecked, C++test will not instrument specific file at all, it means no coverage, no stubs, no stack trace reporting. Note that the uninstrumented file may still be a part of the test binary. When "Instrument Selected Source File(s)" checkbox is selected, than C++test will apply all the instrumentation features that are enabled in used test configuration (Test Configuration -> Execution Tab -> General Tab -> Execution Details -> Instrumentation Mode -> Edit)