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:
-
Do one of the following to display the "User Dependents" view:
-
Right-click any row in the Dependency view and choose Add User Dependent
from the context menu
-
Click the Add user dependent button in the toolbar of the Dependency
view
-
Click the down arrow in the right-hand corner of the Dependency view and
choose Add User Dependent from the context menu
-
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.
-
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:
-
Right-click the user dependent you want to remove and choose Delete
User Dependent from the context menu
-
Select the user dependent you want to remove and do one of the following:
-
Click the Delete user dependent button in the toolbar of the Dependency
view
-
Click the down arrow in the right-hand corner of the Dependency view and
choose Delete User Dependent from the context menu
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:
-
Right-click any row in the Dependency view and choose Store User Dependents
from the context menu
-
Click the Store user dependents button in the toolbar of the Dependency
view
-
Click the down arrow in the right-hand corner of the Dependency view and
choose Store User Dependents from the context menu
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:
-
Click the Refresh dependents button in the toolbar of the Dependency
view
-
Click the down arrow in the right-hand corner of the Dependency view and
choose Refresh Dependents from the context menu
The dependents are also refreshed if you close and re-open the test unit.
[ Top of Page | Table
of Contents ]
