A code coverage extension for Visual Studio for Mac that provides a new pad for displaying coverage statistics and visualizing line coverage in the editor margin.
Open Visual Studio Extension Repository Manager via
Visual Studio -> Extensions... -> Gallery -> Repositories Dropdown -> Manage Repositories.
https://raw.githubusercontent.com/ademanuele/VSMac-Extensions/master/main.mrepto your repository sources.
Back in extension manager, you should now be able to see the extension listed as "Code Coverage". Select and press
Restart Visual Studio for Mac.
Any future updates to the extension should show up in the
Updates tab of the Extension Manager.
You can access the Coverage pad through
View -> Pads -> Coverage.
Select any test project that is currently open in the workspace using the dropdown menu and hit
Your test project should start running. When complete, line and branch coverage results for each covered project are shown on the pad as well as in margins for any editors that you have open.
- Keyboard shortcuts
- Configurable editor margin colors
- Coverage graphs
If you find a bug or have a feature request, please report them at this repository's issues section.
If you like this tool and would like to support its development, you can...
Arthur Demanuele - Author
This extension also uses Toni Solarin-Sodara's coverlet coverage tool for gathering coverage.
Big thanks to the coverlet project, which made this extension possible.
This project is licensed under the MIT License - full details.
See also coverlet's licence.