# xUnit Test Framework

> Execute and generate xUnit tests for C#/.NET projects with FluentAssertions and Moq support

- Skill: `fortiumpartners/xunit-test-framework` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add fortiumpartners/xunit-test-framework`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fortiumpartners/xunit-test-framework/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: FortiumPartners (https://skillmd.com/u/fortiumpartners)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/fortiumpartners/xunit-test-framework

---


# xUnit Test Framework

## Purpose

Provide xUnit test execution and generation for C#/.NET projects.

## Usage

```bash
dotnet run --project generate-test.csproj -- --source=Calculator.cs --output=CalculatorTests.cs --description="Division by zero"
dotnet test --filter=CalculatorTests
```

## Output Format

JSON with success, passed, failed, total, and failures array.

