Skip to main content

dotnet-coverage

Generate a code coverage report for a .NET project or solution via `dotnet test --collect:"XPlat Code Coverage"` (the Coverlet collector), scoped to the test selector given (same selector syntax as the `dotnet-test` skill), then read the generated `coverage.cobertura.xml` to report the exact line-coverage percentage for the specific class(es) touched — using that same file's per-line `hits` data to show which lines/branches are still uncovered. Invoke as `/dotnet-coverage <selector> [TargetClass1,TargetClass2,...]`, or `/dotnet-coverage` with no argument to run the full suite and report whole-solution coverage. Use whenever the user wants to check, or verify a coverage bar (e.g. "at least 80% line coverage") for a class or set of classes, instead of eyeballing `dotnet test` output.

Aller à l'installation

Informations de source

Dépôt
albertoirurueta/docs
Dernière activité de la source
13 juillet 2026 à 20:19
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.