Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
novotnyllc avatar

Dotnet Testing

  • 141 installs
  • 228 repo stars
  • Updated August 3, 2026
  • novotnyllc/dotnet-artisan

Author xUnit or NUnit tests, integration tests with WebApplicationFactory, and mocking strategies for .NET services, controllers, and data access layers.

About

dotnet-testing from dotnet-artisan documents how to test .NET solutions effectively: unit tests for domain and service logic, HTTP integration tests with in-memory hosts, mocking external dependencies, and CI-ready test organization for reliable backend regression coverage.

  • xUnit/NUnit test structure
  • WebApplicationFactory integration tests
  • Mocking with Moq or substitutes
  • Test containers and DB fakes
  • Assertion patterns for APIs

Dotnet Testing by the numbers

  • 141 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #901 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/novotnyllc/dotnet-artisan --skill dotnet-testing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs141
repo stars228
Last updatedAugust 3, 2026
Repositorynovotnyllc/dotnet-artisan

What it does

Author xUnit or NUnit tests, integration tests with WebApplicationFactory, and mocking strategies for .NET services, controllers, and data access layers.

Files

SKILL.mdMarkdownGitHub ↗

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]

Related skills

Testing & QAbackendtesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.