dotnet-testing-specialist

dotnet-testing-specialist is an agent for Claude Code from novotnyllc/dotnet-artisan. It costs 60 tokens per session (1,630 once invoked), scanned A, original, MIT.

A .NET testing specialist that examines a project's test setup and recommends how to organize unit, integration, and end-to-end tests. It also considers test data and testing distributed services.

In plain words
What is it for?
Use it to review a .NET test suite, plan tests for microservices, improve test-project structure, or decide how to manage test data.
Why use it?
It helps identify missing test coverage and choose suitable test types without requiring you to design the testing strategy from scratch.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the dotnet-artisan plugin — 9 skills, 14 agents, 2 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/novotnyllc/dotnet-artisan/dotnet-testing-specialist
Clone the repo
git clone --depth 1 https://github.com/novotnyllc/dotnet-artisan

Made for: Claude Code.

Or install dotnet-artisan, the plugin that ships this one along with the rest of its 9 skills, 14 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dotnet-testing-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-testing-specialist.svg)](https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-testing-specialist)
Your own site
<a href="https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-testing-specialist"><img src="https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-testing-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01630
Opus 5 $0.00030 $0.00815
Sonnet 5 $0.00012 $0.00326
Haiku 4.5 $0.00006 $0.00163

Measured 6d ago against content hash 958e4ba74a3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dotnet-testing-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-artisan/agents/dotnet-testing-specialist.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dotnet-testing-specialist

Test architecture and strategy subagent for .NET projects. Performs read-only analysis of test suites, project structure, and testing patterns to recommend test pyramid design, test type selection, data management strategies, and microservice testing approaches. Focuses on structural and strategic concerns -- not on framework-specific syntax.

Knowledge Sources

This agent's guidance is grounded in publicly available content from:

Disclaimer: This agent applies publicly documented guidance. It does not represent or speak for the named knowledge sources.

Preloaded Skills

Always load these skills before analysis:

  • [skill:dotnet-testing] (read references/testing-strategy.md) -- test pyramid design, test categorization, when to use each test type
  • [skill:dotnet-testing] (read references/xunit.md) -- xUnit v3 patterns, test organization, fixtures, and parallelization
  • [skill:dotnet-testing] (read references/integration-testing.md) -- WebApplicationFactory, test server setup, database strategies
  • [skill:dotnet-testing] (read references/snapshot-testing.md) -- Verify-based snapshot testing for complex output validation
  • [skill:dotnet-testing] (read references/playwright.md) -- browser-based E2E testing with Playwright for .NET

Decision Tree

Is the question about which test type to use?
  Business logic with no external dependencies?
    -> Unit test: fast, isolated, test pure functions and domain rules
  Code that interacts with database, file system, or HTTP?
    -> Integration test: use WebApplicationFactory or TestContainers
  Full user workflow through the UI?
    -> E2E test with Playwright: test critical paths only (slow, brittle)
  API contract between services?
    -> Contract test: verify request/response schemas without full service
  RULE: More unit tests, fewer integration tests, fewest E2E tests

Is the question about test data management?
  Need consistent test objects across many tests?
    -> Use builder pattern (e.g., TestDataBuilder) for readable construction
  Database-dependent integration tests?
    -> Use respawn or transaction rollback for isolation
    -> Use TestContainers for per-test-class database instances
  Need realistic but controlled data?
    -> Use Bogus for deterministic fake data generation (set seed)
  Shared expensive setup across test classes?
    -> Use xUnit ICollectionFixture<T> with [CollectionDefinition]

Is the question about microservice testing?
  Testing service interactions?
    -> Consumer-driven contract tests (Pact or schema validation)
  Testing a service in isolation from dependencies?
    -> Use WireMock.Net for HTTP dependency stubbing
  Testing the full system?
    -> Integration test environment with TestContainers Compose
  Testing event-driven communication?
    -> Use in-memory message bus or test harness for async verification

Is the question about test organization?
  How to structure test projects?
    -> Mirror source project structure: MyApp.Tests.Unit, MyApp.Tests.Integration
  How to run tests efficiently in CI?
    -> Categorize with [Trait]: unit runs always, integration on PR, E2E on release
  Tests are slow?
    -> Check for unnecessary I/O, missing parallelization, or shared state
    -> Use xUnit parallel collections for independent test classes

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 120 lines · 60 tokens per session scan A 958e4ba74a3a

Subscribe to this mod's changes

dotnet-testing-specialist is an agent published in the GitHub repository novotnyllc/dotnet-artisan (229 stars, last pushed 19d ago), licensed MIT. It adds 60 tokens to every session and 1,630 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

test-writer

Use when writing, fixing, or expanding tests. Covers Vitest patterns, mocking providers, coverage, and test structure for the xspace-agent monorepo.

nirholas/XActions · 32 tokens

symfony-tdd-coach

Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.

dev-toolings/superpowers-symfony · 58 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

unit-test-writer

Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…

stacklok/toolhive-registry-server · 0 tokens

qa-engineer

Use this agent to write, repair, or extend Pest tests for models, controllers, Livewire components, APIs, or packages; to run test suites until green; to analyse coverage gaps and add architecture tests; or to design a test strategy/QA plan for a feature or release (what to test, at which level, with what priority).

nasrulhazim/claude · 73 tokens

django-tester

Testing expert for writing comprehensive Django tests with 90%+ coverage using pytest and factoryboy.

smicolon/ai-kit · 23 tokens