When you execute test within the UTA interface, UTA automatically creates a new test configuration that is used by default for test executions performed with UTA. In this configuration, the following options are enabled:

  • Jtest JUnit Proxy Launcher
  • Enable Unit Test Assistant
  • Enable Coverage

You can enable UTA in another run configuration by customizing the launcher and configuring options as follows:

  1. Choose Run> Run Configurations from the Eclipse menu bar.
  2. Select a run configuration and click the Select one... link at the bottom of the page.
  3. Enable the Use configuration specific settings option and select Jtest JUnit Proxy Launcher.
  4. Click OK.
  5. Click the Jtest tab.
  6. Select the Enable Unit Test Assistant option.
  7. (Optional) Select Enable coverage option to activate coverage collection.
  8. Click OK.

See Executing and Collecting Coverage for JUnit Tests for details on advanced configuration, such as customizing coverage scope.

  • No labels