Discover Reusable Tests app
The Discover Reusable Test app searches the Most-at-risk Search Test Repositories in the specified Pipeline to find existing tests that match used objects obtained from the Pipeline’s Usage System. The Smart Impact app will consider these object as ‘hits’ if they are identified as most-at-risk objects to test.
The used objects that are searched for are made up of performance history data obtained from the Usage System, and executable classes obtained from the SPROXREG and /IWBEP/I_SBD_GA tables on the Analysis system.
DevOps categories
Development, Testing, InfoSec, Operations.
Prerequisites
The Discover Reusable Test app uses a Pipeline to identify:
-
The Analysis and Usage Systems, from which used objects are obtained.
-
The Most-at-risk Search Test Repositories, which are searched to find matching test assets.
Before the Smart Impact app is run, you must create a Pipeline that includes the RFC Destinations and Test Repositories to be used in the analysis.
A LiveCompare Editor will need to make sure that performance history data is available on the Usage System specified in the Pipeline. Select the RFC Destination in the LiveCompare hierarchy, click the PHD tab and set a schedule for the retrieval of performance history data. You can also retrieve performance history data for an RFC Destination using the Collect Performance History Data action. See the Retrieve performance history data topic for details.
Run the app
To run the Discover Reusable Tests app, select the app from the Apps screen and create an app variant. Complete the variant screen as follows:
-
Set the ‘Pipeline’ field to the Pipeline that contains the RFC Destinations and Test Repositories to be used by the app.
Click ‘Run’. When the variant has completed, its results may be accessed from the App Cockpit screen.
App results
The Discover Reusable Tests app generates a Dashboard which includes the following charts:
-
The Used by Type column chart summarizes the used objects by their object type.
-
The Test Hits and Gaps pie chart summarizes the used objects by whether a match is found for them in the Pipeline’s Most-at-risk Search Test Repositories.
-
The Test Coverage by Repository column chart summarizes the number of hits found in each of the Pipeline’s Most-at-risk Search Test Repositories.
-
The Test Coverage by Type and Repository column chart summarizes the matching objects by their type in each of the Pipeline’s Most-at-risk Search Test Repositories.
The Dashboard report also includes links to the following reports:
Test Asset Details
This Excel report includes the following spreadsheets:
Sheet1
This spreadsheet lists the matching tests found in each of the Pipeline’s Most-at-risk Search Test Repositories. It includes:
-
The name and type of each Most-at-risk Search Test Repository where a matching test was found.
-
The name of the matched used executable, the matched common terms and the confidence value for each match.
-
The ID, name and path and URL of each matching test.
-
The Test URL, workstate and risk value (H, M, L) of each matching test.
Analysis Input Data
This Excel report contains a copy of the input parameters used to produce the app’s Dashboard report. The value of each input parameter is stored in a separate worksheet, which is named after the parameter whose value it contains.