What problem does it solve? Writing consistent, high-quality unit tests for ERP Domain entities, value objects, and Application command/query handlers is repetitive and error-prone. This Skill provides ready-made templates and strict conventions so tests follow the same naming, structure, and mocking rules every time. ## Core Features & Use Cases - Domain Layer Test Templates: Generate tests for entities, value objects, and business invariants, including domain exception and domain event assertions. - Application Layer Test Templates: Generate command and query handler tests with NSubstitute-mocked repositories, verifying Received/DidNotReceive calls and Result<T> success/failure paths. - Builder Pattern for Test Data: Create reusable builders (e.g., InvoiceBuilder) to construct complex entities without long inline constructors. - Use Case: When implementing a new CreateInvoiceCommandHandler, ask for its unit tests and receive a complete test class with mocked IInvoiceRepository, tenant context setup, and both success and failure scenarios covered. ## Quick Start Generate unit tests for the CreateInvoiceCommandHandler and the Invoice entity following the unit-test conventions.