Component Testing for Java
When creating a Component Testing test node for Java, the Component Testing wizard offers the following options for specifying dependencies of the source code under test:
Simulated files
Additional files
This option gives the Component Testing wizard a list of source files to simulate—or stub—upon execution of the test.
A stub is a dummy software component designed to replace a component that the code under test relies on, but cannot use for practicality or availability reasons. A stub can simulate the response of the stubbed component.
See Java Stubs for more information about JUnit stub handling.
Related Topics