dotnet-test
Overview
Use this skill for .NET test execution, generation, analysis, filtering, coverage, testability improvements, platform detection, and MSTest workflows using dotnet/skills.
Workflow
- Identify test projects, frameworks, target frameworks, adapters, fixtures, data sources, and CI test commands.
- Run or recommend the narrowest meaningful test command for the change.
- Improve tests around behavior and contracts rather than implementation detail.
- Report skipped, flaky, platform-specific, or environment-dependent tests plainly.
Guardrails
- Do not silently switch test frameworks or runners.
- Preserve existing test naming, fixture setup, traits, categories, and CI filters.
- Avoid broad snapshots when focused assertions can prove behavior.
Expected Output
Return test changes or analysis with commands, filters, coverage notes, and failure interpretation.
1---2name: dotnet-test3description: Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows.4license: MIT5---67# dotnet-test89## Overview1011Use this skill for .NET test execution, generation, analysis, filtering, coverage, testability improvements, platform detection, and MSTest workflows using [dotnet/skills](https://github.com/dotnet/skills).1213## Workflow14151. Identify test projects, frameworks, target frameworks, adapters, fixtures, data sources, and CI test commands.162. Run or recommend the narrowest meaningful test command for the change.173. Improve tests around behavior and contracts rather than implementation detail.184. Report skipped, flaky, platform-specific, or environment-dependent tests plainly.1920## Guardrails2122- Do not silently switch test frameworks or runners.23- Preserve existing test naming, fixture setup, traits, categories, and CI filters.24- Avoid broad snapshots when focused assertions can prove behavior.2526## Expected Output2728Return test changes or analysis with commands, filters, coverage notes, and failure interpretation.