Skill / SKILL.md

Unit Tests

LeanMeanCleanApps/CleanMinimalApi

How unit tests are written with xUnit, Shouldly and NSubstitute - folder layout, naming, Arrange/Act/Assert, testing validators and handlers, and asserting the cancellation token. Use when testing a handler, validator, endpoint or any class in isolation.
3 views 401 repository stars 0 commentsUpdated Nov 28, 2026
Overview

How unit tests are written with xUnit, Shouldly and NSubstitute - folder layout, naming, Arrange/Act/Assert, testing validators and handlers, and asserting the cancellation token. Use when testing a handler, validator, endpoint or any class in isolation.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/LeanMeanCleanApps/CleanMinimalApi' skill-source

Use the complete skill-source/.agents/skills/unit-tests directory with your client’s skill installer.

  • .agents/skills/unit-tests

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/unit-tests

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b1764b668be75c459a1911fe101427d03f3625062a06a13c7e69ba26c087e7a3
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills