Page tree

Skip to end of metadata
Go to start of metadata

Jtest can collect coverage information for Java applications when a run configuration is executed in Eclipse. 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 configuration form the Jtest As menu.

Right-click a Java main class or package in the Package Explorer and choose Jtest As> Java Application.

Alternatively, you can choose Run>Jtest As> Java Application from the IDE main menu or from the drop-down menu of the Launch [run_configuration_name]  toolbar button 

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.

  • No labels