๐ŸŽฏ

csharp-nunit

๐ŸŽฏSkill

from github/awesome-copilot

VibeIndex|
What it does
|

Streamlines C# unit testing with NUnit, providing robust assertion methods, test case generation, and advanced mocking techniques for .NET projects.

Overview

C# NUnit is a skill that provides best practices for writing effective unit tests using the NUnit testing framework. It covers project setup, test structure with fixtures and lifecycle hooks, data-driven testing with multiple attribute types, and the NUnit constraint-based assertion model to help developers create clean, maintainable, and comprehensive test suites.

Key Features

  • Complete Test Structure Guidance - Covers [TestFixture], [Test], [SetUp], [TearDown], [OneTimeSetUp], [OneTimeTearDown], and [SetUpFixture] for proper test organization and lifecycle management
  • Rich Data-Driven Testing - Supports [TestCase] for inline data, [TestCaseSource] for programmatic data, [Values]/[ValueSource] for parameter combinations, and [Random]/[Range] for numeric test values
  • Constraint-Based Assertions - Guides usage of the preferred Assert.That with constraints like Is.EqualTo, Is.SameAs, Contains.Item, plus classic assertions and CollectionAssert
  • Naming Conventions - Enforces the MethodName_Scenario_ExpectedBehavior pattern and separate test project naming with [ProjectName].Tests

Who is this for?

This skill is for C# developers who use NUnit for testing and want to follow current best practices for test organization, data-driven testing, and assertion patterns. It is particularly valuable for teams standardizing their testing approach or developers learning NUnit's modern features including combinatorial and pairwise testing strategies.

๐Ÿ“ฆ

Same repository

github/awesome-copilot(224 items)

csharp-nunit

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add github/awesome-copilot --skill csharp-nunit
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add github/awesome-copilot --skill csharp-nunit
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/csharp-nunit/SKILL.md

SKILL.md

6,843Installs
-
AddedFeb 25, 2026

More from this repository10

๐ŸŽฏ
git-commit๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
gh-cli๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
prd๐ŸŽฏSkill

Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications

๐ŸŽฏ
refactor๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
excalidraw-diagram-generator๐ŸŽฏSkill

Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.

๐ŸŽฏ
documentation-writer๐ŸŽฏSkill

Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.

๐ŸŽฏ
chrome-devtools๐ŸŽฏSkill

Automates browser interactions, debugging, and performance analysis using Chrome DevTools for comprehensive web page inspection and control.

๐ŸŽฏ
java-springboot๐ŸŽฏSkill

Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.

๐ŸŽฏ
web-design-reviewer๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
github-issues๐ŸŽฏSkill

Manages GitHub Issues through the GitHub API, enabling creation, searching, labeling, and triaging of issues directly from the coding environment.