dotnet-create-test

Generate AAA-compliant unit and integration test scaffolds for .NET 10 projects.

21|4|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/JotJunior/claude-ai-tips --skill dotnet-create-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-create-test
Source: https://github.com/JotJunior/claude-ai-tips/tree/main/language-related/dotnet/skills/dotnet-create-test
Command: npx skills add https://github.com/JotJunior/claude-ai-tips --skill dotnet-create-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly generate consistent unit and integration tests for .NET 10 projects using the AAA (Arrange, Act, Assert) pattern with xUnit, NSubstitute, and FluentAssertions.

Core Features & Use Cases

  • Automated test scaffolding for unit tests, integration tests, and validators across Application, Domain, and Infrastructure layers.
  • Template-guided test naming and organization following standard conventions.
  • Built-in support for Arrange/Act/Assert structure and FluentAssertions-based assertions.
  • Use cases include generating tests for Command Handlers, Query Handlers, Validators, Entities, and Repositories.

Quick Start

Create unit and integration tests for a given .NET 10 class following the AAA pattern.

Frequently Asked Questions about dotnet-create-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate unit tests for .NET 10 using xUnit and FluentAssertions?

Generate .NET 10 unit tests by applying the AAA pattern with xUnit and FluentAssertions to standardize test scaffolds for handlers, validators, and repositories. NSubstitute handles mock creation to isolate application services during execution.

What is the AAA pattern in xUnit testing and how does it structure test scaffolds?

The AAA pattern structures test scaffolds by separating Arrange, Act, and Assert phases in xUnit. It standardizes .NET 10 test generation for domain entities and application services by pairing FluentAssertions for verification with NSubstitute for mocking.

Can I use NSubstitute to scaffold integration tests for DDD architectures in .NET 10?

Yes, NSubstitute scaffolds integration tests for DDD architectures in .NET 10 by mocking dependencies across Application, Domain, and Infrastructure layers. It validates command handlers, query handlers, and repository integrations using FluentAssertions.

Does this test scaffolding approach support validators and domain entities in typical DDD projects?

Yes, this test scaffolding approach supports validators and domain entities in DDD projects. It generates xUnit test scaffolds for application validators and domain logic, ensuring entities are validated via FluentAssertions within the .NET 10 environment.

What is the best way to organize unit and integration tests across Application, Domain, and Infrastructure layers?

Organize tests across Application, Domain, and Infrastructure layers by applying template-guided AAA structures. This separates unit tests for domain entities and validators from integration tests for repositories and handlers using xUnit and FluentAssertions.