FortiumPartners

xUnit Test Framework

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

FortiumPartners 11 2 Updated 10mo ago

Resources

2
GitHub

Install

npx skillscat add fortiumpartners/ai-mesh/xunit-test-framework

Install via the SkillsCat registry.

About this skill

We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action. Must be at most 60 words. No quotes, no markdown, no bullet points, no headings. Just plain text. Summarize: skill executes and generates xUnit tests for C#/.NET projects with FluentAssertions and Moq support. Problem: need to automate test creation and execution, ensuring test coverage and correctness. When to use: when developing C#/.NET code and want to generate unit tests quickly or run existing tests. Word count: aim ~30-40 words.

SKILL.md

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.