Radberi-UnitTesting
CommunityStreamline unit tests with proven patterns.
Software Engineering#unit-testing#integration-testing#xunit#testcontainers#fakes#builders#multitenancy
AuthorShade666
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing reliable unit and integration tests for command and query handlers is often tedious due to boilerplate setup, inconsistent data, and brittle tests. This Skill provides a structured, repeatable approach using xUnit v3, fakes, and test infrastructure patterns to ensure handlers behave as expected in isolation and in integration.
Core Features & Use Cases
- Comprehensive testing patterns for command/query handlers with xUnit v3, NSubstitute, and Testcontainers
- Deterministic testing with FakeClock and FakeUnitOfWork, plus test data builders
- Multitenancy isolation tests and integration scenarios with real databases
- Reference patterns and guidance for common test/builders
- Use Case: Validate a CreateRoom handler against existing and missing projects to ensure NotFound or Success results.
Quick Start
Run the unit test suite against a sample project to validate handler behavior and test infrastructure.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Radberi-UnitTesting Download link: https://github.com/Shade666/huml-dotnet/archive/main.zip#radberi-unittesting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.