IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Testing modules > Component testing

Specifying dependencies for component test projects

In WebSphere Integration Developer version 7 and later, component test projects are full-fledged SCA modules. This allows you to use the dependency editor to specify Java libraries as dependencies for component test projects. If a component test project is being used to test a module that has a dependency on an SCA library, the SCA library will automatically be displayed in the dependency editor.

To specify dependencies for a component test project:


Procedure

  1. In the Business Integration view, expand your component test project and double-click Dependencies. The dependency editor opens. If that if the component test project is being used to test a module that has a dependency on an SCA library, the SCA library will be displayed in the Libraries section of the dependency editor.

  2. If you want to add a Java library as a dependency of the component test project (perhaps because the library contains additional testing capabilities):

    1. In the dependency editor, expand the Java section.

    2. In the Java section, click the Add button. The Java Project Selection window opens.

    3. In the Select a project field, type the name of the Java library or select it in the Java project list.

    4. Click OK. The Java library is displayed in the Java project list of the dependency editor.
  3. Press Ctrl-S to save your changes and close the editor.

Component testing