csharp-xunit
Best practices for C# unit testing with xUnit, including AAA patterns, data-driven tests, and mocking strategies.
Install
npx skills add https://github.com/github/awesome-copilot --skill csharp-xunitStats
| Total installs | 7,611 |
| Weekly installs | 7.6K |
| GitHub stars | 27.4K |
| First seen | Feb 25, 2026 |
| Source | @github/awesome-copilot |
Summary
- Covers test structure using Arrange-Act-Assert pattern, naming conventions, and fixture-based setup/teardown with IClassFixture<T> and ICollectionFixture<T>
- Explains data-driven testing with [Theory] combined with [InlineData], [MemberData], and [ClassData] attributes, plus custom data attribute creation
- Details assertion methods for equality, collections, regex patterns, and exception handling, with optional fluent assertions library integration
- Includes mocking strategies using Moq or NSubstitute, test organization with traits and collections, and diagnostic output via ITestOutputHelper
Tags
Related skills
| Skill | Installs | vs csharp-xunit |
|---|---|---|
| ef-core | 7,528 | -83 |
| prompt-engineering-patterns | 8,725 | +1,114 |
| javascript-testing-patterns | 7,041 | -570 |
| dotnet-best-practices | 8,542 | +931 |
| apple-appstore-reviewer | 7,790 | +179 |
FAQ
- How many installs does csharp-xunit have?
- csharp-xunit has 7,611 total installs and 7.6K installs this week.
- Where is csharp-xunit hosted?
- csharp-xunit is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does csharp-xunit have?
- csharp-xunit has 27.4K GitHub stars.
- When was csharp-xunit first indexed?
- OrangeBot.AI first indexed csharp-xunit on Feb 25, 2026.
- How do I install csharp-xunit?
- Run: npx skills add https://github.com/github/awesome-copilot --skill csharp-xunit