Microsoft Dev Blogs

Code coverage features in Visual Studio Enterprise

thumbnail

Code Coverage Features in Visual Studio Enterprise

Introduction

Code coverage in Visual Studio Enterprise allows you to identify areas where your testing can be improved to make your software more reliable. The new features introduced in the Code Coverage Results window aim to enhance the user experience and provide more insightful data.

Support of Additional Report Formats

Visual Studio Enterprise now supports additional report formats, making it easier to view and analyze code coverage data in a variety of ways.

Enhanced Report Merging

Report merging has been improved to combine projects that use the same source code, resulting in more accurate and consolidated coverage data.

Performance Enhancements

Various performance enhancements have been implemented to optimize the code coverage analysis process and provide faster results.

Code Coverage Views

New views have been added to the coverage window, offering different perspectives for visualizing coverage data and improving the developer's experience.

Margin Glyphs

Margin Glyphs provide a new way to visualize coverage in the editor, showing coverage data for unit test projects and source code in a clear and organized manner.

Project View

The default view in the coverage window, displaying coverage data specific to each unit test project.

Source View

Combines coverage data from all test projects, providing a comprehensive overview of coverage across the source code.

Report Types

Different report types, such as Full Report and Changeset Report, offer various ways to analyze and filter coverage data based on specific criteria.

Conclusion

The new code coverage features in Visual Studio Enterprise aim to provide a more robust and user-friendly experience for developers. Your feedback is valuable in helping us improve and enhance our tools, so please continue sharing your thoughts and suggestions as you utilize Visual Studio in your projects.