Back to Skills

xUnit Test Framework

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

About

This Claude Skill executes and generates xUnit tests for C#/.NET projects. It supports FluentAssertions and Moq for writing expressive tests and mocking dependencies. Use it to quickly create and run unit tests, receiving results in a structured JSON format.

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: skills/xunit-test

Related Skills