What problem does it solve?
It eliminates the time-consuming uncertainty of writing correct unit tests by guiding you through defining scope, mapping scenarios, and generating xUnit + Moq test code for .NET services, queries, and domain entities.
Core Features & Use Cases
- Scenario-driven unit testing: Covers happy path, null/invalid inputs, not-found cases, expected exceptions, and edge conditions.
- Deterministic xUnit + Moq patterns: Enforces AAA structure, consistent naming, and safe mocking rules (including verifying method calls).
- Target-aware file guidance: Recommends where Service, Query, and Domain tests should live in the repository.
- Use Case: Generate unit tests for a CustomerService and its dependent repositories while ensuring all external integrations are mocked and no real calls are made.
Quick Start
Ask the test-writer skill to create unit tests for your target file by providing the service or query path, for example: “Write tests for CustomerService.cs.”