What problem does it solve?
This skill provides a clear framework for writing Behavior-Driven Development (BDD) style unit tests targeting domain handlers in .NET, using real repositories backed by an in-memory database to ensure realistic validation without mocks.
Core Features & Use Cases
- Hybrid testing approach with real repositories and EF Core InMemory database to validate domain logic end-to-end.
- TestDataBuilder pattern that orchestrates test data setup and reusable fixtures.
- Fluent Aggregate Builders for constructing domain objects in a readable, expressive style.
- Fake implementations (clocks, unit of work, services) to isolate unit under test without external dependencies.
- Naming conventions and test structure that align with Given_When_Then semantics and Arrange-Act-Assert.
Quick Start
Install the test project, review the pattern examples in the README, create tests following the Given_When_Then naming, and run dotnet test to execute the suite.