+1
0
-1

Modifying the stub behaviour

Hi there,

Could you please tell me how to modify the behaviour of the stub. For ex:- I want to stub a function which is not taking any parameter and not returning anything, but I want to...

Posting in: 

7 Answers:

+1
+1
-1

Hello Himanshu,

Thank you for your question. It is possible to configure your stub through Environment->Configure Stubs->Edit. Navigate to the stub that you wish to insert your user...

+1
0
-1

Hello Jim,

One followup question about the solution you have suggested for this question.

Configuring stub through 'Environment->Configure Stubs->Edit' would...

+1
0
-1

Hello Amey,

                       Thank you for contacting us, in order to know the more about user code and other advanced features of the tool, we provide standard training where the...

+1
0
-1

Hello Amey,

This can be accomplished by using the "User Globals" that VectorCAST provides in the Parameter Tree. The User Globals are global objects for use with user code. In your case...

+1
0
-1

I have selected a file as stub by function and can i use 'Environment->Configure Stubs->Edit' and set VECTORCAST_INT1 to 1 to check if the function is called ?

Appreciate...

+1
0
-1

I have selected a file as stub by function and can i use 'Environment->Configure Stubs->Edit' and set VECTORCAST_INT1 to 1 to check if the function is called ?

Appreciate...

+1
0
-1

Hello CMC,

Answer is yes.

Regards,

Brian