Test Gaps: Modified Methods Focus
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
We're excited to introduce a new feature in the Test Gap Analysis (TGA) report that allows you to quickly focus on the most critical untested areas: a new switch button to display only modified methods.
The TGA report is crucial for identifying untested code. However, sometimes the list of all untested methods can be extensive, making it challenging to pinpoint the ones that correspond to recent code changes. This new capability helps you:
Focused & Faster Insights: Quickly pinpoint and understand the impact of your latest modifications by focusing only on untested methods that correspond to recent code changes, eliminating visual clutter and accelerating your review.
Enhanced Quality Assurance: More efficiently assess the coverage of your latest modifications, helping to ensure that no critical code changes are inadvertently released without adequate testing.
You'll find a new switch button in the TGA report interface. By default, this switch will be off, showing all untested methods as before.
Switch Off (Default): The report will display all untested methods within each file, providing a comprehensive view of your overall coverage gap.
Switch On: The report will filter the displayed methods. While the Overall Coverage Gap and # of Untested Methods columns in the main table will still show data per file (reflecting all untested methods), when you expand a file, you will only see the untested methods that have been modified. Furthermore, if a file contains only untested methods that were not changed recently, that file will disappear entirely from the list, making it easier to view only relevant files that had recent changes.
Imagine a file with 10 untested methods. Historically, all 10 would be displayed when you expand the file. With the new switch turned "on," if only 1 of those 10 methods was recently modified, only that single modified method will be displayed when you expand the file, providing immediate focus on the change. If none of the 10 methods were modified, the entire file will no longer appear in the list when the switch is on.
This enhancement empowers you to more efficiently identify and address test gaps related to your active development, leading to faster and more targeted quality assurance.