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:

  • Enable Unit Test Assistant
  • Enable Coverage

You can enable UTA in another run configuration:

  1. Right-click a file or package in the Package Explorer and choose Jtest As> Jtest Configurations... in the Eclipse context menu.
  2. Select a run configuration. 
  3. Click the Jtest tab.
  4. Enable the Enable Unit Test Assistant option.
  5. (Optional) Enable the Enable coverage option to activate coverage collection.
  6. Click the Jtest button at the bottom of the page.

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

  • No labels