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

Limitations for component testing

From time to time, you may encounter some limitations in testing components. In most situations, you can successfully work around these limitations.

A known limitation is:

This limitation is discussed in the following section.


Component test projects experience build problems when two or more instances of the same resource are detected

For a component test project to successfully reference modules (using emulators or other test resources), it needs to be able to access the WSDL and XSD files that are associated with the modules. If one or more WSDL files reside in the modules rather than in libraries, the component test project cannot directly reference the modules. In this situation, the WSDL and XSD files are automatically copied over to the component test project, which enables the component test project to access the files and successfully reference the modules.

For each WSDL file that is automatically copied over to a component test project, a source folder is automatically created. When a build occurs, WSDL and XSD files in each source folder are copied to a single output folder. This can cause the following problems:

To resolve these problems, you can use refactoring to move your WSDL files from the modules to libraries. This is the recommended solution because it is a best practice to place WSDL files in libraries rather than in modules. (The refactoring tool will help you move any XSD files or other resources that are associated with the WSDL files.)

If there is some reason why you cannot use refactoring to move your WSDL files from modules to libraries, you can resolve the problems using one of the following approaches:

Component testing