csharp-nunit
NUnit unit testing best practices for C#/.NET, covering AAA pattern, data-driven tests, and assertions.
Install
npx skills add https://github.com/github/awesome-copilot --skill csharp-nunitStats
| Total installs | 7,439 |
| Weekly installs | 7.4K |
| GitHub stars | 27.4K |
| First seen | Feb 25, 2026 |
| Source | @github/awesome-copilot |
Summary
- Organize tests with [TestFixture] classes matching production code, using [Test] methods named MethodName_Scenario_ExpectedBehavior and following Arrange-Act-Assert structure
- Data-driven testing via [TestCase], [TestCaseSource], [Values], [Range], and [Combinatorial] attributes for inline, programmatic, and parameterized test generation
- Use Assert.That with constraint model (Is.EqualTo, Contains.Item) and specialized assertions like CollectionAssert, StringAssert, and Assert.Throws<T> for exceptions
- Manage test lifecycle with [SetUp], [TearDown], [OneTimeSetUp], and [OneTimeTearDown] for per-test and per-class initialization
- Keep tests focused, independent, and idempotent; use [Category], [Order], and [Explicit] for organization and execution control
Tags
Related skills
| Skill | Installs | vs csharp-nunit |
|---|---|---|
| github-actions-templates | 6,013 | -1,426 |
| csharp-xunit | 7,611 | +172 |
| create-spring-boot-kotlin-project | 7,409 | -30 |
| php-mcp-server-generator | 7,460 | +21 |
| openapi-to-application-code | 7,488 | +49 |
FAQ
- How many installs does csharp-nunit have?
- csharp-nunit has 7,439 total installs and 7.4K installs this week.
- Where is csharp-nunit hosted?
- csharp-nunit is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does csharp-nunit have?
- csharp-nunit has 27.4K GitHub stars.
- When was csharp-nunit first indexed?
- OrangeBot.AI first indexed csharp-nunit on Feb 25, 2026.
- How do I install csharp-nunit?
- Run: npx skills add https://github.com/github/awesome-copilot --skill csharp-nunit