Ross ROSS = Recommend OSS · open-source software intelligence for agents

thomhurst/TUnit

A modern, fast and flexible .NET testing framework observed · 2026-08-28

github.com/thomhurst/TUnit · homepage · C# · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 99
  • Release rhythm 87
  • Longevity 68
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 952
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 220

Full methodology

Adoption not part of the score

3927 stars · 130 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

TUnit is a modern, fast .NET testing framework built on Microsoft.Testing.Platform that discovers tests at compile time via Roslyn source generators and runs them in parallel by default. It includes fluent async assertions, Roslyn analyzers, an AOT-compatible mocking library, and first-class integrations for ASP.NET Core, Aspire, and Playwright.

Use cases

  • write unit tests in C# with a fast modern framework
  • run .NET test suites in parallel for faster feedback
  • test .NET code with Native AOT and trimming support
  • write ASP.NET Core integration tests with per-test isolation
  • run Playwright browser tests in .NET
  • migrate from xUnit, NUnit, or MSTest
  • mock dependencies in AOT-published test projects

When to choose

  • you want compile-time test discovery and fast startup instead of reflection-based frameworks
  • you need Native AOT, trimming, or single-file publishing for your tests
  • you want parallel-by-default execution with fine-grained control
  • you're starting a new .NET project and want modern testing tooling

When to avoid

  • your team is deeply invested in xUnit, NUnit, or MSTest with no migration appetite
  • you rely on runtime reflection-based test discovery or plugins
  • you need a mocking library compatible with C# versions older than 14

Facets

framework · maturity active

testing e2e-testing mocking benchmarking testing developer-tools web-development dotnet cross-platform cli csharp source-generators native-aot parallel-execution unit-testing integration-testing aspnet-core playwright microsoft-testing-platform xunit-alternative docker

10 sources

Member repositories

RepositoryRoleHealth v2
thomhurst/TUnitmain89

For agents

markdown · JSON · MCP: product_card(name="thomhurst/TUnit")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem