Using the Dependency view

IBM WebSphere InterChange Server Express components depend on other components to function properly. To test an interface, you must make sure that all of its dependencies are resolved.

The Dependency view in Integrated Test Environment lists the component dependencies that must be resolved to test the interface. The system is able to determine many dependencies among components, and lists them under the Default Dependents checkbox in the Dependency view.

There are some situations in which some components cannot be automatically detected by the system. If you use the Task Manager view to deploy components when testing an interface then you must make sure that even the dependencies that cannot be detected by the system are resolved. To do this, you can add components to the Dependency view. After you do so, the components are listed under the User Dependents checkbox in the Dependency view.

Figure 62 shows the Dependency view.

Figure 62. Dependency view

Adding user dependents

Do one of the following to add a component to a test unit as a user dependent:
  1. Do one of the following to display the "User Dependents" view:
  2. At the User Dependents window select the components you want to add. You can use standard multiple-selection techniques, such as holding down Shift to select contiguous rows and holding down Ctrl to select non-contiguous rows.
  3. Click OK.
Note:
Only components that are not already registered as dependents are displayed in the list.

Deleting user dependents

Do one of the following to remove a component from the list of user dependents:

Storing user dependents

You can store the user dependents that you add to a test unit so that you do not have to add them each time. Do one of the following to store the user dependents:

Refreshing dependents

If you modify a component that participates in an interface you are testing by adding a new dependency component to its definition then you must refresh the dependents for the interface in Integrated Test Environment. For instance, if you add a new child business object to a business object definition, the dependents for an interface that depends on the business object definition must be refreshed. Do the following to refresh the dependents for an interface: The dependents are also refreshed if you close and re-open the test unit.

[ Top of Page | Table of Contents ]

Copyright IBM Corp. 1997, 2003