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 23 C# unit-testing 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.
-
abot
Cross Platform C# web crawler framework built for speed and flexibility. Please star this project! +1.
-
-
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.
-
vstest
Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
-
Onion-architecture-ASP.NET-Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 8!
-
Machine.Specifications
Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.
-
List-of-Testing-Tools-and-Frameworks-for-.NET
✅ List of Automated Testing (TDD/BDD/ATDD/SBE) Tools and Frameworks for .NET
-
-
DNTFrameworkCore
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
-
Moq.Contrib.HttpClient
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
-
-
-
entity-framework-core-mock
Easy Mock wrapper for mocking EFCore5 DbContext and DbSet using Moq or NSubstitute
-
-
movie-search-application
🎬 A simple movie search app, built with .Net 9, Vertical Slice Architecture and using TMDB APIs and YouTube APIs for searching and details of the movies.
-
StoreCleanArchitecture-NET
This is a basic project to demonstrate an introduction about the implementation of Clean Architecture on .NET
-
UnityEntities-AutomatedTests-Sample
A sample how to write Unit and Performance tests for a game that uses Unity.Entities
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# unit-testing discussion
C# unit-testing related posts
-
Primeiros testes unitários em C# com xUnit (parte 1)
-
TDD helper in c#
-
Fluent Assertions 8: Corporate License Update
-
From Bug Fixes to Best Practices: My Open Source Contributions to ChatCraft and xUnit
-
Hacktoberfest 4/4: The final PR
-
Testcontainers: Testes de Integração em Containers
-
How to Speak Directly in Robinhood?
-
A note from our sponsor - Stream
getstream.io | 18 Jul 2025
Index
What are some of the best open-source unit-testing projects in C#? This list will help you:
# | Project | Stars |
---|---|---|
1 | xUnit | 4,408 |
2 | Cake | 4,038 |
3 | Fluent Assertions | 3,806 |
4 | AutoFixture | 3,474 |
5 | abot | 2,285 |
6 | Rubberduck | 2,026 |
7 | bUnit | 1,230 |
8 | vstest | 931 |
9 | Onion-architecture-ASP.NET-Core | 914 |
10 | Machine.Specifications | 895 |
11 | List-of-Testing-Tools-and-Frameworks-for-.NET | 572 |
12 | TcUnit | 327 |
13 | DNTFrameworkCore | 317 |
14 | Moq.Contrib.HttpClient | 191 |
15 | SystemWrapper | 176 |
16 | fluentassertions.analyzers | 133 |
17 | entity-framework-core-mock | 133 |
18 | PeakLimsApi | 66 |
19 | movie-search-application | 41 |
20 | StoreCleanArchitecture-NET | 27 |
21 | UnityEntities-AutomatedTests-Sample | 9 |
22 | qest | 9 |
23 | Testing101 | 8 |