Creating Test Coverage Reports
By default, a test coverage report correlates PeopleTools project data with PTF test metadata to identify components, menus, pages, records and fields that are referenced in PTF Tests.
When used in conjunction with Usage Monitor, test coverage correlations can be extended to include information on additional PeopleTools managed objects, such as PeopleCode.
A test coverage report identifies which objects included in the change project are referenced by which PTF test. Any object included in the change project that is not referenced in the PTF test metadata will appear in this report, identified as a coverage gap.
All the projects in the database are listed, sorted with most recent first. Click the column headings to change the sort order.
PTF generates a coverage report based on a change project. Select the project you want PTF to use to generate the report.
The wizard consists of two steps:
Step 1: Select a Project.
Step 2: Generate Report.
Use the Create Test Coverage Report page (PSPTTSTCOVERAGESEL) to select the projects to include in the test coverage report.
Select a change project to be correlated with PTF metadata and click Next.
This example shows step 2 of 2:
To generate the report:
Select one or more tests in the Select Test(s) for the Test Coverage Report grid to use for the report.
Use the Folder and Search for Tests By fields along with the Search button to filter the list of tests that are available to select for the report:
Select a value in the Folder list to specify the PTF Explorer Tree level to include. To include tests from all folders, leave this field blank.
To include only tests that match a test name or description, select Name or Desc from the Search for Tests By list, then enter the search string in the adjacent edit box.
Click Search to populate the Select Test(s) for the Test Coverage Report grid with the tests that match the criteria specified.
Select the report format.
Click Generate Report to create the report.
The following fields are on the Create Test Coverage Report Wizard: Step 2 of 2 page:
Field or Control
To limit the report to tests from a specific folder, select the level of the PTF Explorer Tree to include. To include tests from all folders, leave this field blank.
|Search for Tests By||
Select Name to search for reports by test name, or Desc to search for reports by their description.
Enter the search string in the adjacent edit box. To retrieve all reports, leave the edit box blank.
Click to populate the Select Test(s) for Test Coverage Report grid with the tests that match the criteria specified.
Click to select all tests that are listed in the Select Test(s) for Test Coverage Report grid.
Click to deselect all tests that are listed in the Select Test(s) for Test Coverage Report grid.
Select the report output format. Options are:
|Usage Monitor Rpt||
Select to include Usage Monitor data in a test coverage report. You need to generate Usage Monitor data while creating your tests.
Click to create the report.