Phase 5: User Story Coverage Analytics
Please contact your SeaLights CSM for assistance with setting up User Story Coverage Analytics.
User Story Coverage Analytics is a Professional Services toolset, comprised of several scripts, which can be used to view test coverage data in your Jira (or ADO) User Stories.
These scripts work by collecting the ticket IDs of the code changes and then reporting of the user story coverage, processing the information in two parts:
1. Gathering the source code changed per ticket
Using a set of scripts, the code changes are extracted and linked to specific tickets, based on one of three common methods:
Extracting the ticket ID from the commit message itself
Extracting the ticket ID from the branch name
Extracting the ticket ID from the Pull Request title
The code changes are then sent to Sealights with the respective tags via an API, where they are collected to be used later to generate the reports.
2. Reporting
Sealights is accessed through an API to gather all the code changes for a given set of tickets. Then, once the data is ready, the code changes for each user story can be extracted through another API and converted into various reports:
HTML files – For each user story, an HTML file with its details is created, plus a summary HTML listing all the user stories together.
Confluence – For each user story, a Confluence page with its details is created, plus a Confluence page with only the untested methods per test group/stage.
Issue Trackers – Coverage values and a summary text are pushed into the relevant system:
Jira Cloud via custom fields
Jira On-Prem via the Jira plugin
Azure DevOps (ADO) via the ADO plugin
Last updated
Was this helpful?

