Coverage Report

We've redesigned the Coverage Report to be more intuitive and user-friendly, while still offering all the features you know and love.

New Coverage Report

The Coverage Report empowers you to analyze your code coverage in meticulous detail. It provides a hierarchical view, encompassing your entire codebase structure, from the application level down to individual methods. This comprehensive report enables you to identify areas requiring additional testing focus and tailor your testing strategy accordingly.

The Coverage Report displays the app, branch, and build you selected for analysis. It then presents a hierarchical breakdown of your codebase, including:

  • Application Level: This is the highest level in the hierarchy, representing your entire application.

  • File Level: Delve deeper to see individual files within your application.

  • Method Level: This is the most granular level, allowing you to examine the coverage of each method within a file.

Understanding Coverage Data

At each level within the hierarchy, the Coverage Report displays aggregated coverage data. This data reflects the overall contribution of all executed test stages to the coverage at that specific level.

  • Overall Coverage: This value represents the percentage of methods within the current level that have been exercised by at least one test stage in the selected build.

  • Method-Level Coverage Details: By drilling down to a specific method within the report, you'll gain insights into how each test stage has interacted with that method. This detailed view indicates whether the method was covered by each individual test stage and the overall status across all test stages (covered / uncovered).

Filtering for Focused Analysis

The Coverage Report offers filtering capabilities to tailor your analysis to specific needs. You can choose to focus on a particular set of test stages, enabling you to:

  • Exclude Unit Tests: By excluding unit tests from the filter, you can obtain a more comprehensive picture of your integration and higher-level testing effectiveness. This filtered "relative coverage" provides valuable insights into areas beyond basic unit-level testing.

Coverage Modes

The report allows you to visualize coverage data in two distinct modes:

  • Overall Coverage: This mode presents the coverage data for all methods within your chosen app/branch/build, regardless of code modifications.

  • Code Changes Coverage: This mode focuses specifically on methods that have been modified since a designated "Reference Build." This allows you to prioritize testing efforts on recently changed sections of your codebase.

Downloading the Report for Further Exploration

The Coverage Report provides the option to download the data as a CSV file. This downloadable file offers flexibility for further analysis and manipulation using external tools. You can leverage this CSV file for tasks such as:

  • Identifying Critical Methods: Flag methods that require additional testing focus.

  • Adding Comments: Annotate specific methods within the CSV file to enhance collaboration and knowledge sharing within your development team.

  • Advanced Filtering: Utilize the capabilities of spreadsheet software to apply advanced filtering criteria and uncover deeper insights from the coverage data.

Ignored Methods

By default, the Coverage Report excludes methods marked as "ignored" within your codebase configuration. However, you have the option to include these ignored methods if needed for a more comprehensive analysis.

Last updated