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.

how to generate local variables in the test cases and test code dependent on local variables?

deepakp
deepakp Posts: 1

In one of the functions, one portion of code looks somewhat like below,
somefun(){

int a=1;
if(a!=1){
cout<<"this is executed"<<endl;
}

}

how can i have the cout executed from the test suite.