+1
0
-1

Global variable

Hi,

I am testing a function in the UUT. The function has an if statement as follows:

#define NUMBER 100

fn()
{
if ( NUMBER < counter )
{...

Posting in: 

5 Answers:

+1
0
-1

Hi,

If you have probe point license then set a probe at line "if ( NUMBER < counter...

+1
0
-1

Hi,

There is another way, find the global in the parameter tree. Set it to 0,100 to get full coverage.

/Brian

+1
0
-1

Thank you very much for the reply. However I am not able to see the particular global variable in the parameter tree. Are you suggesting to write that value somewhere in the Testcase User code ?...

+1
0
-1

Hi Prakash,

When you edit a test case there is a right hand tabbed pane. The tabs are Parameter tree, Control flow and Execution report.

This is basic VectorCAST as is the use of a...

+1
0
-1

Hi Brian,
I appreciate your help. I got it.

Thank you very much.