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::
- Right-click a file or package in the Package Explorer and choose Jtest As> Jtest Configurations... in the Eclipse context menuChoose Run> Run Configurations from the Eclipse menu bar.
- Select a run configuration and click the Select one... link at the bottom of the page.
Enable the Use configuration specific settings option and select Jtest JUnit Proxy Launcher.Click OK.. - Click the Jtest tab.
- Select Enable the Enable Unit Test Assistant option.
- (Optional) Select Enable the Enable coverage option to activate coverage collection.
- Click OKthe 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.