Running Unit Tests in TIBCO Business Studio for BusinessWorks

Follow these steps to run unit tests in TIBCO Business Studio for BusinessWorks.

    Procedure
  1. In TIBCO Business Studio for BusinessWorks, right-click the.application file and select Generate POM for Application.

  2. Verify the TIBCO_HOME value and click Finish.
    For example, C:\tibco\bwce2.x for Windows. Set BWCE Home as the relative path to the version-specific BW folder under TIBCO_HOME (with a leading slash and no trailing slash), for example \bwce\2.x for Windows.
    It converts the existing projects to Maven type and adds a new project called *.application.parent, then creates pom.xml files in all projects.

  3. Right-click the parent project and run a "test" goal.

  4. To run the Maven goals, right-click the .parent application, and select Run As > Maven build.

  5. Provide the Maven goal in the Goals field that is to be executed, then click Run.