xUnit Test Framework

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

FortiumPartners 756002e 3 files · 2.0 KB Updated

File contents

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.

FortiumPartners/ai-mesh/tree/main/skills/xunit-test commit 756002e79e

Frequently asked questions

npx skillmds@latest add fortiumpartners/xunit-test-framework