Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →
Top 19 C# Xunit Projects
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
-
Fluent Assertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
The new commercial license costs $129.95 per developer per year. This pricing structure impacts organizations, especially those with larger development teams or multiple projects utilizing Fluent Assertions.
-
AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
Project mention: Why I moved from AutoFixture to Bogus for test data generation for C#/xUnit tests | dev.to | 2025-07-05AutoFixture and Bogus are both well-known libraries for generating test data in C# tests. AutoFixture is, well, dated whereas Bogus is state of the art.
-
bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
-
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Xunit.Gherkin.Quick
BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)
-
-
TestExamplesDotnet
Showing how you can easily setup fast and easy to run more complex tests such as api tests or browser tests in .NET
-
-
xunit-dependency-injection
:fire: A small library to help .NET developers leverage Microsoft's dependency injection framework in their Xunit-powered test projects
-
-
-
-
EnvironmentDetector
Library that provides a simple way to detect whether your code is running in a test environment or not. It currently supports detecting MSTest, NUnit, and xUnit test frameworks.
-
-
You can find test results on GitHub Actions.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# Xunit discussion
C# Xunit related posts
-
TDD helper in c#
-
Fluent Assertions 8: Corporate License Update
-
From Bug Fixes to Best Practices: My Open Source Contributions to ChatCraft and xUnit
-
Testcontainers: Testes de Integração em Containers
-
Optimizing C# code analysis for quicker .NET compilation
-
Integration testing in Umbraco 10+: Validating document types
-
Comprehensive Unit Testing: A Line-by-Line Approach
-
A note from our sponsor - Stream
getstream.io | 15 Jul 2025
Index
What are some of the best open-source Xunit projects in C#? This list will help you:
# | Project | Stars |
---|---|---|
1 | xUnit | 4,405 |
2 | Cake | 4,034 |
3 | Fluent Assertions | 3,808 |
4 | AutoFixture | 3,470 |
5 | bUnit | 1,230 |
6 | LightBDD | 415 |
7 | snapshooter | 319 |
8 | Xunit.Gherkin.Quick | 212 |
9 | fluentassertions.analyzers | 133 |
10 | TestExamplesDotnet | 69 |
11 | xRetry | 67 |
12 | xunit-dependency-injection | 56 |
13 | tic-tac-toe-csharp-playground | 38 |
14 | testcontainers-dotnet | 35 |
15 | DbSample | 10 |
16 | EnvironmentDetector | 9 |
17 | GenWrap | 8 |
18 | tdd | 7 |
19 | CaptureLogsInUnitTests | 3 |