You can collect coverage for Java applications or JUnit tests by enabling one of the following proxy launchers in your run configuration in Eclipse:
- Jtest JUnit Proxy Launcher for JUnit launch configuration
- Jtest JDT Proxy Launcher for Java Application launch configuration
The Executing and Collecting Coverage for JUnit Tests section includes instructions how Eclipse can be configured to collect coverage for JUnit tests. You can enable collecting coverage for Java applications by following these instructions, but selecting another launcher:
The Unit Test Assistant feature described in the Executing and Collecting Coverage for JUnit Tests section is not available for Java Application configurations and will not be visible in the Jtest tab when the Jtest JDT Proxy Launcher is selected.