A .NET Standard 2.0 library consisting of a ton of very useful C# extension methods.
Browse to the ArbitraryExtensions.Tests directory and execute the below command.
dotnet test /p:CollectCoverage=true "/p:CoverletOutputFormat=\"lcov,cobertura\"" /p:CoverletOutput=coverage/
Install the global report generator tool:
dotnet tool install -g dotnet-reportgenerator-globaltool
Generate the report:
reportgenerator "-reports:coverage/*.info" "-targetdir:coverage/reports" -reporttypes:HtmlInline;Badges -historydir:coverage/reports/history
To run test and generate code coverage report, a handy batch file is available:
coverage-gen.bat