What problem does it solve?
This skill provides a ready-made .NET testing scaffold that standardizes unit, integration, and end-to-end testing workflows.
Core Features & Use Cases
- xUnit-based test projects with Moq for mocking
- TestContainers for integration tests against real dependencies in containers
- Coverlet for code coverage
- FluentAssertions for readable assertions
- AutoFixture for test data generation
- Suitable for creating unit, integration, and E2E tests across projects
Quick Start
Create a new test solution and projects, e.g., dotnet new sln -n MyApp.Tests; dotnet new xunit -n MyApp.UnitTests; dotnet new xunit -n MyApp.IntegrationTests
Add packages: dotnet add package Moq; dotnet add package Testcontainers; dotnet add package coverlet.collector; dotnet add package FluentAssertions; dotnet add package AutoFixture
Run tests: dotnet test --collect:"XPlat Code Coverage"