How To Generate Code Coverage Report in HTML Using *.coverage
Now that you’re able to collect data from unit test runs, you can generate reports using ReportGenerator. To install the ReportGenerator NuGet package as a .NET global tool, use the dotnet tool install command: