Csharp nunit

From mouadja02/skills · View interactive version

Csharp nunit is an AI agent skill from the GitHub repository mouadja02/skills. Applies NUnit best practices to C# unit tests: structure, assertions, setup/teardown, and data-driven tests with TestCase and TestCaseSource. Use when writing or reviewing NUnit tests.

How to use this skill

Skill file

Attribution: Sourced from github/awesome-copilot by GitHub Community, licensed MIT. Modified for this collection.

NUnit Best Practices

Your goal is to help me write effective unit tests with NUnit, covering both standard and data-driven testing approaches.

Project Setup

Test Structure

Standard Tests

Data-Driven Tests

Assertions

Mocking and Isolation

Test Organization

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.