dotnet-testing

Defines .NET test strategy and implementation patterns across xUnit v3 (Facts, Theories, fixtures, IAsyncLifetime), integration testing (WebApplicationFactory, Testcontainers), Aspire testing (DistributedApplicationTestingBuilder), snapshot testing (Verify, scrubbing), Playwright E2E browser automation, BenchmarkDotNet microbenchmarks, code coverage (Coverlet), mutation testing (Stryker.NET), UI testing (page objects, selectors), and AOT WASM test compilation. Spans 13 topic areas. Do not use for production API architecture or CI workflow authoring.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dotnet-testing" with this command: npx skills add novotnyllc/dotnet-artisan/novotnyllc-dotnet-artisan-dotnet-testing

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) -> [skill:dotnet-ui]
  • CI/CD pipeline configuration -> [skill:dotnet-devops]
  • Performance profiling -> [skill:dotnet-tooling]

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

dotnet-cryptography

No summary provided by upstream source.

Repository SourceNeeds Review
General

dotnet-ui

No summary provided by upstream source.

Repository SourceNeeds Review
General

dotnet-csharp

No summary provided by upstream source.

Repository SourceNeeds Review