2025-11-16

Visual Studio 2026 Includes Code Coverage in Community and Professional!

On a posting I made on 2014-02-03, I asked that Microsoft include code coverage in the Community and Professional editions of Visual Studio. In my opinion, it was the most glaring missing feature in those editions. They included it in their Enterprise edtion, but the cost was prohibitive.

In the 11+ years since, I have posted multiple times about it being missing. This was not a big work item, since most likely it just took flipping a variable in the Visual Studio build process to include it. There has been on open thread on the Microsoft Visual Studio feature requests site for about that long. At one point, Microsoft said they'd never do it and closed the request, which caused a furious response by the several hundred people follow that thread. I think the response caused a reconsideration.

Well, it finally happened. Visual Studio 2026 includes code coverage in all editions. I would like to commend Microsoft for finally adding this feature. I noticed that on the page of new features, they put it right at the top, above all of the AI features they added to Visual Studio.

Code coverage is the tool that tells you what code is hit while it is being run. It is mainly used in conjunction with unit tests. It tells you what code your unit tests are not hitting. Having unit tests as a feature without code coverage as well makes makes it impossible to measure the comprehensiveness of your unit tests.

Check out the feature in Visual Studio 2026. Microsoft claims that they addressed over 300 feature requests in this version. I am sure some of the other ones are great, but code coverage has been at the top of my list for a very long time.

No comments :

Post a Comment

Note: Only a member of this blog may post a comment.