writing-unit-tests-csharp

Installation
SKILL.md

Skill: Writing C# Unit Tests

Overview

This skill covers writing unit tests for the backend using MSTest SDK. The project uses a lean, zero-config approach that leverages Microsoft's official SDK-style testing.

Project Structure

backend/
├── WebApp.sln
├── WebApp.Api/
│   ├── Models/           # DTOs and request/response models
│   ├── Services/         # Business logic and agent integration
│   └── Program.cs        # Minimal API endpoints
└── WebApp.Api.Tests/
    ├── WebApp.Api.Tests.csproj
    └── [TestClass].cs    # Test files organized by class under test
Related skills
Installs
1
GitHub Stars
95
First Seen
Mar 1, 2026