Loading...
Loading...
Use the open-source free `coverlet` toolchain for .NET code coverage. Use when a repo needs line and branch coverage, collector versus MSBuild driver selection, or CI-safe coverage commands.
npx skill4agent add managedcode/dotnet-skills dotnet-coverletcoverletcoverlet.collectorcoverlet.msbuildcoverlet.consoleAGENTS.mdAGENTS.mdWorkflowRalph LoopRequired Result Formatcoverlet.collectordotnet test --collectcoverlet.msbuildcoverlet.consolecoverlet.collectorcoverlet.msbuildReportGeneratorrg -n "coverlet\\.(collector|msbuild)|CollectCoverage|XPlat Code Coverage" -g '*.csproj' -g '*.props' -g '*.targets' .dotnet tool list --localdotnet tool list --globalcommand -v coverletdotnet add TEST_PROJECT.csproj package coverlet.collectordotnet add TEST_PROJECT.csproj package coverlet.msbuilddotnet new tool-manifestdotnet tool install coverlet.consoleAGENTS.mddotnet test TEST_PROJECT.csproj --collect:"XPlat Code Coverage"dotnet test TEST_PROJECT.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=coberturadotnet tool run coverlet TEST_ASSEMBLY.dll --target "dotnet" --targetargs "test TEST_PROJECT.csproj --no-build"status: configuredstatus: improvedstatus: not_applicablestatus: not_applicablestatuscompletecleanimprovedconfigurednot_applicableblockedplanactions_takenvalidation_skillsverificationremainingnonestatus: configuredreferences/commands.mdreferences/patterns.mdreferences/coverlet.md