Replacing Stubs
Component Testing for C
Stubs can be used to replace a component that is still in development. Later in the development process, you might want to replaced a stubbed component with the actual source code.
To replace a stub with actual source code:
-
Right-click the test node and select Add Child and Files
-
Add the source code files that will replace the Stubbed functions.
-
If you do not want a new file to be instrumented, right-click the file select Properties. Set the Instrumentation property to No.
-
Open the .ptu test script, and remove the STUB sections from your script file.