csharp-tunit
Best practices and patterns for writing unit tests with the TUnit framework in .NET.
Install
npx skills add https://github.com/github/awesome-copilot --skill csharp-tunitStats
| Total installs | 7,418 |
| Weekly installs | 7.4K |
| GitHub stars | 27.4K |
| First seen | Feb 25, 2026 |
| Source | @github/awesome-copilot |
Summary
- Use [Test] attribute for test methods; follow Arrange-Act-Assert pattern with naming convention MethodName_Scenario_ExpectedBehavior
- Data-driven testing via [Arguments], [MethodData], and [ClassData] attributes; multiple [Arguments] can apply to the same method
- Fluent async assertions with await Assert.That() syntax; chain with .And or .Or operators and use .Within() for tolerance comparisons
- Lifecycle hooks at multiple scopes: [Before/After(Test)], [Before/After(Class)], and [Before/After(Assembly)] for flexible setup and teardown
- Advanced features include [Repeat(n)], [Retry(n)], [Timeout], [ParallelLimit<T>], and [DependsOn] for test control; parallel execution enabled by default
Tags
Related skills
| Skill | Installs | vs csharp-tunit |
|---|---|---|
| php-mcp-server-generator | 7,460 | +42 |
| golang-pro | 7,212 | -206 |
| refactor-plan | 7,769 | +351 |
| backtesting-frameworks | 5,514 | -1,904 |
| async-python-patterns | 6,324 | -1,094 |
FAQ
- How many installs does csharp-tunit have?
- csharp-tunit has 7,418 total installs and 7.4K installs this week.
- Where is csharp-tunit hosted?
- csharp-tunit is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does csharp-tunit have?
- csharp-tunit has 27.4K GitHub stars.
- When was csharp-tunit first indexed?
- OrangeBot.AI first indexed csharp-tunit on Feb 25, 2026.
- How do I install csharp-tunit?
- Run: npx skills add https://github.com/github/awesome-copilot --skill csharp-tunit