Back to Skills

xUnit Test Framework

FortiumPartners
Updated Today
12 views
5
1
5
View on GitHub
Metatesting

About

This Claude Skill executes and generates xUnit tests for C#/.NET projects. It includes built-in support for FluentAssertions and Moq to streamline test creation. Use it to quickly create comprehensive test suites and run them with detailed JSON output of results.

Documentation

xUnit Test Framework

Purpose

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

Usage

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.

Quick Install

/plugin add https://github.com/FortiumPartners/ai-mesh/tree/main/xunit-test

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

FortiumPartners/ai-mesh
Path: .claude.old/skills/xunit-test

Related Skills