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.

Why does the C/C++ test link to files not in scope when running unit test (file scope)?

Options
SJ_BHD
SJ_BHD Posts: 1

I am following the instructions at this link:
https://docs.parasoft.com/pages/viewpage.action?pageId=134835090

I am doing a unit test only on a single file selected in the project explorer. I am creating stubs for this file and then running unit test.
However, on executing run unit test (file scope), the C/C++ test is linking to completely different files outside the scope of test and failing.

How can this be prevented?