← all plugins

Dotnet Test

by @dotnet · plugin · 20 skills

Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows.

Install the whole plugin (CLI)
npx skillmds add dotnet/run-tests npx skillmds add dotnet/crap-score npx skillmds add dotnet/grade-tests npx skillmds add dotnet/test-tagging npx skillmds add dotnet/filter-syntax npx skillmds add dotnet/mtp-hot-reload npx skillmds add dotnet/assertion-quality npx skillmds add dotnet/coverage-analysis npx skillmds add dotnet/test-gap-analysis npx skillmds add dotnet/code-testing-agent npx skillmds add dotnet/platform-detection npx skillmds add dotnet/test-anti-patterns npx skillmds add dotnet/test-smell-detection npx skillmds add dotnet/writing-mstest-tests npx skillmds add dotnet/find-untested-sources npx skillmds add dotnet/code-testing-extensions npx skillmds add dotnet/test-analysis-extensions npx skillmds add dotnet/migrate-static-to-wrapper npx skillmds add dotnet/detect-static-dependencies npx skillmds add dotnet/generate-testability-wrappers
⬇ Download

Skills in this plugin

  1. run-tests · dotnet
    Run, filter, or troubleshoot .NET tests with `dotnet test`, detecting the test platform (VSTest vs Microsoft.Testing.Platform) and framework to apply the correct command syntax.
    4k
    repo stars
  2. crap-score · dotnet
    Calculates CRAP (Change Risk Anti-Patterns) scores for .NET methods by combining cyclomatic complexity with code coverage data from Cobertura XML reports.
    4k
    repo stars
  3. grade-tests · dotnet
    Grades individual test methods and produces a compact markdown table with a letter grade, score band, and one-line note for each test.
    4k
    repo stars
  4. test-tagging · dotnet
    Analyzes test suites across multiple languages and tags each test with standardized traits (positive, negative, critical-path, etc.) for better test categorization and coverage visibility.
    4k
    repo stars
  5. filter-syntax · dotnet
    Reference for test filter syntax across VSTest and MTP platforms, covering MSTest, NUnit, xUnit v3, and TUnit frameworks with examples and translation guidance.
    4k
    repo stars
  6. mtp-hot-reload · dotnet
    Sets up Microsoft Testing Platform hot reload to iterate fixes on failing tests without rebuilding, covering package installation, environment configuration, and the iterative workflow.
    4k
    repo stars
  7. assertion-quality · dotnet
    Analyzes test suites to measure assertion diversity, detect shallow or trivial assertions, and identify tests that lack meaningful verification.
    4k
    repo stars
  8. coverage-analysis · dotnet bundle
    Analyzes .NET project code coverage and CRAP (Change Risk Anti-Patterns) scores to identify risk hotspots, methods blocking coverage gains, and prioritize where to add tests.
    4k
    repo stars
  9. test-gap-analysis · dotnet
    Analyzes production code to find gaps in existing tests by reasoning about hypothetical mutations and checking whether tests would catch them.
    4k
    repo stars
  10. code-testing-agent · dotnet bundle
    Generates and writes unit tests for any programming language using a multi-agent pipeline that researches, plans, and implements tests with build and verification steps.
    4k
    repo stars
  11. platform-detection · dotnet
    Detects the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) from .NET project files.
    4k
    repo stars
  12. test-anti-patterns · dotnet
    Audits test files for anti-patterns and quality issues, producing a severity-ranked report across multiple languages and frameworks.
    4k
    repo stars
  13. test-smell-detection · dotnet bundle
    Audits test code in any language using the academic testsmells.org 19-smell catalog, producing a severity-ranked report with specific locations and actionable fixes.
    4k
    repo stars
  14. writing-mstest-tests · dotnet
    Write, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs, covering assertions, data-driven tests, lifecycle, and async patterns.
    4k
    repo stars
  15. find-untested-sources · dotnet bundle
    Parse source files to find which ones have no test file referencing their declared types, producing a prioritized worklist of untested files.
    4k
    repo stars
  16. code-testing-extensions · dotnet bundle
    Provides file paths to language-specific extension files for the code-testing pipeline, enabling discovery of guidance for .NET, Python, TypeScript, and other languages.
    4k
    repo stars
  17. test-analysis-extensions · dotnet bundle
    Provides file paths to language-specific reference files for polyglot test analysis skills, enabling framework-aware detection of test markers, assertions, and patterns across .NET, Python, TypeScript, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, and C++.
    4k
    repo stars
  18. migrate-static-to-wrapper · dotnet
    Mechanically replace static dependency call sites with wrapper or built-in abstraction calls across a bounded scope, such as migrating DateTime.UtcNow to TimeProvider.GetUtcNow() or File.ReadAllText to IFileSystem.
    4k
    repo stars
  19. detect-static-dependencies · dotnet
    Scan C# source files for hard-to-test static dependencies and produce a ranked report of static call sites by frequency.
    4k
    repo stars
  20. generate-testability-wrappers · dotnet
    Generate wrapper interfaces, default implementations, and DI registration code to make hard-to-test static dependencies in C# testable, using built-in abstractions like TimeProvider or custom wrappers.
    4k
    repo stars