You can import and view coverage results from a local execution XML file or from DTP. The Coverage view shows the percentage of coverage, as well as how many lines of code are covered with tests of the available lines in the file.
Click the coverage drop down menu.
Choose your options for viewing coverage information:
Import from: see Importing Coverage for more information about importing coverage.
Sort by: You can sort by file name or percentage of coverage in ascending or descending order.
Merge coverage: Enabling this option combines coverage information when additional coverage data is imported; disabling this option clears the coverage view and replaces it with the new data.
Import coverage data from an XML file or from DTP (see Importing Coverage). The Coverage view will show the percentage of coverage, as well as how many lines of code are covered with tests of the available lines in the file.
Jtest automatically matches imported coverage data with resources available in your workspace. As a result, the structure of resources displayed in the Coverage view is identical with the project structure displayed in the IDE.
If you import coverage associated with resources that were modified or are no longer available in your workspace, the coverage data is recalculated to reflect the current coverage status for resources in your workspace.
Click a file to view the classes in the file.
Click a class to open it in the editor and display the methods.
Click a method to view it in the editor with color-coded markers that indicate coverage.