xunit/xunit
xUnit.net is a free, open source, community-focused unit testing tool for .NET. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 74
- Longevity 100
Flags: no_license
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: 125
- age_days: 4867
- days_rel: 18
- days_push: 8
- n_releases_24m: 2
Adoption not part of the score
4600 stars · 841 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
xUnit.net is a free, open-source unit testing framework for C#, F#, and Visual Basic on .NET, providing test discovery, assertions, extensibility, and Roslyn analyzers. Version 3 supports .NET 8+ and .NET Framework 4.7.2+, integrates with Visual Studio, Rider, VS Code, and Microsoft Testing Platform or VSTest, and adds Native AOT support and test parallelization.
Use cases
- write unit tests for C# .NET applications
- run tests with dotnet test or Microsoft Testing Platform
- add Roslyn analyzers for xUnit usage mistakes
- run tests in Native AOT published projects
- migrate from xUnit v2 to v3
- parameterized theory tests with data-driven inputs
When to choose
- you are writing .NET unit tests and want the community-standard framework
- you need Native AOT test support or full test case parallelization
- you use Visual Studio, Rider, VS Code, or NCrunch and want integrated test runners
When to avoid
- you are not on the .NET platform
- you still require Mono support, which v3 has dropped
- you rely on VSTest with published Native AOT binaries, which is unsupported
Facets
library · maturity stable
testing developer-tools testing developer-tools dotnet windows cli unit-testing c-sharp f-sharp visual-basic test-framework vstest native-aot roslyn-analyzers dotnet macos linux
8 sources
- readme: https://github.com/xunit/xunit · fetched 2026-08-28 · 1c8e37b8851d
- homepage: https://xunit.net/ · fetched 2026-08-29 · a79c68c80b01
- site_page: https://xunit.net/docs/using-ci-builds · fetched 2026-08-29 · 23f2eda8a427
- site_page: https://xunit.net/releases/v3/4.0.0 · fetched 2026-08-29 · b196f2499cfb
- site_page: https://xunit.net/releases/v2/2.9.3 · fetched 2026-08-29 · ac2821c52c96
- site_page: https://xunit.net/releases/analyzers/2.0.0 · fetched 2026-08-29 · 2d0d6fdbed12
- site_page: https://xunit.net/releases/visualstudio/4.0.0 · fetched 2026-08-29 · d46a2bea658b
- site_page: https://xunit.net/releases · fetched 2026-08-29 · 08a97f759626
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xunit/xunit | main | 90 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem