How to use Parasoft Dynamic stubs #5
Hello Community,
I am a first time user of Parasoft's dynamic stubs. I am evaluating this feature as an alternate to using Google mock.
Can stubs be created for functions in the same class (C++) or same the same file(C)?
Tagged:
0
Comments
Yes, C++test can create stubs for functions from the same file / class.
In general, stub can be created if the function is used / called somewhere in the tested code (with some exceptions).
C:
C++: