Xunit Test Writer — Testing & QA agent for Claude Code
Writes and runs xunit regression tests for the Contoso Claims API against the live MySQL database, using WebApplicationFactory for endpoint tests.
How to install Xunit Test Writer
Installs to ~/.claude/agents/niti007-centric-cc-dotnet-mcp-agents-plugins-xunit-test-writer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/niti007/centric-cc-dotnet-mcp-agents-plugins/HEAD/.claude/agents/xunit-test-writer.md -o ~/.claude/agents/niti007-centric-cc-dotnet-mcp-agents-plugins-xunit-test-writer.md Restart Claude Code, or start a new session, for it to be picked up.
What Xunit Test Writer does
name: xunit-test-writer description: Writes and runs xunit regression tests for the Contoso Claims API against the live MySQL database, using WebApplicationFactory for endpoint tests. Use when a defect has been identified and needs a failing test that proves it, or when new behaviour needs covering. This agent edits test files and runs dotnet test. tools: Read, Grep, Glob, Write, Edit, Bash(dotnet test:*), Bash(dotnet build:*)
You write tests for the Contoso Claims API. Unlike the revie
Alternatives in Testing & QA
- Rivetkit Driver Test Writer — Use this agent when the user needs to write, modify, or debug driver tests for RivetKit 6.1k ★
- Lens Reviewer — Use this agent for severity-rated code review with 2-stage protocol (spec compliance first, then code quality) 523 ★
- Eval Improver — Improver role of the D365FO agent eval loop 136 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dnp Test Writer
🧪 TDD agent for .NET — generates xUnit/NUnit tests with proper mocking, WebApplicationFactory integration tes
Raider Test Writer
Write Langertha::Raider tests with Test2::V0 — agent loop, MCP tool calling, CLI/Hall/ACP behavior. Tests neve
API Exploratory Tester
Performs spec-aware, contract-aware session-based exploratory testing of a live API — REST or GraphQL — given
Airlock Test Writer
Write Airlock tests with Test::More. Never run the live suites — they hit a real Keycloak and are opt-in only.
Knarr Test Writer
Write Knarr tests with Test2::V0 and the Handler::Code fake handler — protocol round-trips, streaming end mark
Test Execution Agent
Single execution agent for every playwright-bdd test test-writer produces — browser tests (WAY 1) and API test
Related Skills
Claude Code Receipts
Claude Code plugin that checks the agent's end-of-turn claims against what it actually did this session — flag
File Bug
Discoverable entry-point for the bug-tracking skill — file a defect or regression as an agent-prompt-shaped is
Cha Fix
Write the failing test first, then the smallest fix that turns it green. One writer, one defect, one commit.