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.
Trying to "Isolate" the Isolation of a Class unit Test
LegacyForum
Posts: 1,664 ✭✭
(Entered for David Mann)
I am trying to isolate a particular class from the rest of the project. For example, I would like to test only TestExecThread.cpp. But I want to keep the function level testing around. So I am trying to devise a way to not to mix them up. The following picture shows my attempt at doing this (see attached)
As you can see, I can use the ${ } symbols for generating the unit tests, but when I try to use the same ${ } symbols to generate the stubs it takes the ${ } literally. I would not want to create a test configuration file for each and every class that I am trying to isolate. How would I perform the above approach?
I am trying to isolate a particular class from the rest of the project. For example, I would like to test only TestExecThread.cpp. But I want to keep the function level testing around. So I am trying to devise a way to not to mix them up. The following picture shows my attempt at doing this (see attached)
As you can see, I can use the ${ } symbols for generating the unit tests, but when I try to use the same ${ } symbols to generate the stubs it takes the ${ } literally. I would not want to create a test configuration file for each and every class that I am trying to isolate. How would I perform the above approach?
0