-
-
Notifications
You must be signed in to change notification settings - Fork 46
Description
https://learn.microsoft.com/en-gb/visualstudio/releases/2026/release-notes#18.0.0
Use code coverage to determine how much code is being tested
I have an almost completed version of FCC that used WPF controls rather than the hacked html report from ReportGenerator embedded in WebBrowser control. This version was to mirror the functionality in Visual Studio Enterprise with some additional functionality.
FCC new version
Visual Studio 2026
Given that the Enterprise functionality is now available in Community it is much less of a priority now to finish.
Visual Studio's code coverage does differ to FCC.
- FCC uses Microsoft Code Coverage and Coverlet / OpenCover
- FCC supports older versions of Visual Studio.
- FCC code coverage reacts to the test explorer. Visual Studio has to explicitly collect.
- FCC editor coverage colouring is live, in so far as if you add lines the indicators move. FCC also has indicators for new lines and dirty lines.
- FCC supports settings in a variety of ways. Visual Studio use .runsettings
Visual studio advantages
- Visual Studio supports Remote testing FCC issue
- FCC has to hack into test explorer to work ( reflection included ) ! Especially for the new Microsoft Testing Platform.
- FCC current version is tied to old version of ReportGenerator - Results Not Available For Classes That Have Only async Methods
- Has additional functionality that my new version was replicating
View Code Coverage of Current Code Changes
There should be an option for turning on Coverage for new code only
Request: Keep and update previously run coverage report on running new test
visualize coverage with method level. - Has a team of developers.
Minor differences
FCC has Branches , Visual Studio has Blocks FCC issue
In my opinion Visual Studio code coverage is the way forward - The feature ticket is here https://developercommunity.visualstudio.com/t/Code-Coverage-for-VS-Professional/613911 perhaps FCC users could request VS implement 4. as well as this information to be available in the tree report.