Suggest a tool

xUnit.net

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What xUnit.net is

xUnit.net is an open source unit testing tool for code written in C#, F#, or Visual Basic. Version 3 targets .NET 8.0 and newer, plus .NET Framework 4.7.2 and newer. Supported environments include JetBrains Rider, Visual Studio, Visual Studio Code, NCrunch and the .NET SDK command line. Any environment compatible with Microsoft Testing Platform or VSTest can also run its tests. New test projects are created from the xunit3 template with dotnet new. Facts are tests for invariant conditions, while theories run against supplied data sets. Tests run through dotnet run, dotnet test, IDE test panels, or a console runner. The project belongs to the .NET Foundation.

Written from the project's README, read , and its documentation (see sources).

Category
Unit testing and test runners
License
Apache-2.0 (One file (src/xunit.v3.runner.common/Utility/ConsoleHelper.cs) is adapted from MSBuild under MIT, as stated in LICENSE.)
Language
C#
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars4,6051
Forks8471
Open issues and PRs181
Contributors1611
Commits in the last 90 days381
Last commit2026-09-221
Last releasev3-4.0.1, 2026-09-121
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from xUnit.net's, with its source.

Questions

Is xUnit.net open source?

Yes. xUnit.net is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22. One file (src/xunit.v3.runner.common/Utility/ConsoleHelper.cs) is adapted from MSBuild under MIT, as stated in LICENSE.

Is xUnit.net maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does xUnit.net have?

4,605 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is xUnit.net written in?

The repository's primary language, as reported by the GitHub API, is C#.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. LICENSE file, read
  6. README, read
  7. Getting Started with xUnit.net v3, read