csharp-tunit

Originally fromgithub/awesome-copilot
Installation
SKILL.md

TUnit Best Practices

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

Project Setup

  • Use a separate test project with naming convention [ProjectName].Tests
  • Reference TUnit package and TUnit.Assertions for fluent assertions
  • Create test classes that match the classes being tested (e.g., CalculatorTests for Calculator)
  • Use .NET SDK test commands: dotnet test for running tests
  • TUnit requires .NET 8.0 or higher

Test Structure

Installs
27
GitHub Stars
6.1K
First Seen
May 3, 2026
csharp-tunit — midudev/autoskills