mcpField
D
dotnet-testing

dotnet-testing

github.com/novotnyllcTesting & quality234194 installsUpdated 2w ago
Repository

About dotnet-testing

dotnet-testing is a .NET skill for planning and implementing application tests and quality checks. It organizes guidance on test strategy, xUnit, integration and browser testing, benchmarks, coverage, mutation testing, and UI test patterns.

Key features

  1. 01Unit, integration, and E2E strategy
  2. 02xUnit v3 authoring guidance
  3. 03Integration and Playwright testing
  4. 04Benchmarking and CI regression checks
  5. 05Coverage, mutation, and flaky-test guidance
  6. 06Cross-framework UI testing patterns

Use cases

  1. 01Choosing a test type and test doubles
  2. 02Adding xUnit tests to a project
  3. 03Testing APIs and browser workflows
  4. 04Tracking performance and test quality

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/novotnyllc/dotnet-artisan --skill dotnet-testing

After installing, type/dotnet-testingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
add-testing.md
aot-wasm.md
aspire-testing.md
benchmarkdotnet.md
ci-benchmarking.md
integration-testing.md
playwright.md
slopwatch.md
snapshot-testing.md
test-quality.md
testing-strategy.md
ui-testing-core.md
xunit.md

Details

From the project README

dotnet-testing

Overview

Testing strategy, frameworks, and quality tooling for .NET applications. This consolidated skill spans 13 topic areas. Load the appropriate companion file from references/ based on the routing table below.

Baseline dependency: references/testing-strategy.md defines the unit vs integration vs E2E decision tree and test doubles selection that inform all testing decisions. Load it by default whenever a testing approach needs to be chosen.

Most-shared companion: references/xunit.md covers xUnit v3 framework features used by integration, snapshot, and UI testing companions.

Routing Table

TopicKeywordsDescriptionCompanion File
Strategyunit vs integration vs E2E, test doublesUnit vs integration vs E2E decision tree, test doubles selectionreferences/testing-strategy.md
xUnitFacts, Theories, fixtures, parallelismxUnit v3 Facts, Theories, fixtures, parallelism, IAsyncLifetimereferences/xunit.md
IntegrationWebApplicationFactory, Testcontainers, AspireWebApplicationFactory, Testcontainers, Aspire, database fixturesreferences/integration-testing.md
SnapshotVerify, scrubbing, API responsesVerify library, scrubbing, custom converters, HTTP response snapshotsreferences/snapshot-testing.md
PlaywrightE2E browser, CI caching, trace viewerPlaywright E2E browser automation, CI caching, trace viewer, codegenreferences/playwright.md
BenchmarkDotNetmicrobenchmarks, memory diagnosersBenchmarkDotNet microbenchmarks, memory diagnosers, baselinesreferences/benchmarkdotnet.md
CI benchmarkingthreshold alerts, baseline trackingCI benchmark regression detection, threshold alerts, baseline trackingreferences/ci-benchmarking.md
Test qualityCoverlet, Stryker.NET, flaky testsCoverlet code coverage, Stryker.NET mutation testing, flaky testsreferences/test-quality.md
Add testingscaffold xUnit project, coverlet, layoutScaffold xUnit project, coverlet setup, directory layoutreferences/add-testing.md
SlopwatchLLM reward hacking detectionSlopwatch CLI for LLM reward hacking detectionreferences/slopwatch.md
AOT WASMBlazor/Uno WASM AOT, size, lazy loadingBlazor/Uno WASM AOT compilation, size vs speed, lazy loading, Brotlireferences/aot-wasm.md
UI testing corepage objects, selectors, async waitsPage object model, test selectors, async waits, accessibility testingreferences/ui-testing-core.md
Aspire testingDistributedApplicationTestingBuilder, Aspire test hostAspire test host, service HTTP clients, resource healthreferences/aspire-testing.md

Scope

  • Test strategy and architecture (unit, integration, E2E)
  • xUnit v3 test authoring
  • Integration testing (WebApplicationFactory, Testcontainers)
  • E2E browser testing (Playwright)
  • Snapshot testing (Verify)
  • Benchmarking (BenchmarkDotNet, CI gating)
  • Quality (coverage, mutation testing)
  • Cross-framework UI testing patterns
  • Test scaffolding

Out of scope

  • UI framework-specific testing (bUnit, Appium) -> dotnet-ui
  • CI/CD pipeline configuration -> dotnet-devops
  • Performance profiling -> dotnet-tooling

Comments

Markdown supported