bdd-dotnet

Community

BDD-style tests for .NET domain handlers

Authornesbo
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: bdd-dotnet
Download link: https://github.com/nesbo/dotnet-claude-code-skills/archive/main.zip#bdd-dotnet

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.