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:
- Right-click a file or package in the Package Explorer and choose Jtest As> Jtest Configurations... in the Eclipse context menu.
- Select a run configuration.
- Click the Jtest tab.
- Enable the Enable Unit Test Assistant option.
- (Optional) Enable the Enable coverage option to activate coverage collection.
- 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.