Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Write, run, or repair .NET tests that use xUnit with the right package, CLI, and runner guidance. USE FOR: xUnit v2 or xUnit v3 projects; adding, running, debugging, or repairing xUnit tests; choosing between VSTest and Microsoft.Testing.Platform. DO NOT USE FOR: TUnit projects; MSTest projects. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
.claude/skills/managedcode-xunit/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 666% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 39% | 0% |
AGENTS.mdAGENTS.md and confirm scope and constraints.Workflow through the Ralph Loop until outcomes are acceptable.Required Result Format with concrete artifacts and verification evidence.xunit usually means v2xunit.v3 means v3xunit.runner.visualstudio plus Microsoft.NET.Test.Sdk usually means VSTest compatibility is enabledTestingPlatformDotnetTestSupport or UseMicrosoftTestingPlatformRunner means Microsoft.Testing.Platform is in playtest command from AGENTS.md. If the repo has no explicit command yet, start with dotnet test PROJECT_OR_SOLUTION.dotnet run[Theory] for stable data-driven coverage and [Fact] for single-path invariant checks.xunit.analyzers enabled when present. Fix analyzer findings instead of muting them casually.If xUnit is requested but not configured:
rg -n "xunit(\\.v3)?|xunit\\.runner\\.visualstudio|TestingPlatformDotnetTestSupport|UseMicrosoftTestingPlatformRunner|TUnit|MSTest" -g '*.csproj' .TUnit or MSTest, do not auto-migrate. Return status: not_applicable unless migration is explicitly requested.dotnet add TEST_PROJECT.csproj package xunit.v3dotnet add TEST_PROJECT.csproj package xunit.runner.visualstudioAGENTS.md.dotnet test TEST_PROJECT.csproj or repo-defined xUnit command and return status: configured or status: improved.Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.
status: not_applicable with explicit reason and fallback path.status: complete | clean | improved | configured | not_applicable | blockedplan: concise plan and current iteration stepactions_taken: concrete changes madevalidation_skills: final skills run, or skipped with reasonsverification: commands, checks, or review evidence summaryremaining: top unresolved items or noneFor setup-only requests with no execution, return status: configured and exact next commands.
Other measured skills in the registry, with their headline benchmark lift.