界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

dotnet-test

dotnet-test

【开发与工程】Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: dotnet-test description: "Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows." license: MIT metadata: author: dotnet version: "1.0.0" source: https://github.com/dotnet/skills/tree/main/plugins/dotnet-test

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

  1. Identify test projects, frameworks, target frameworks, adapters, fixtures, data sources, and CI test commands.
  2. Run or recommend the narrowest meaningful test command for the change.
  3. Improve tests around behavior and contracts rather than implementation detail.
  4. 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.

我的收藏