C# Test

Open-source C# projects categorized as Test
Testing .NET C# C# Xunit

Top 14 C# Test Projects

  1. TUnit

    A modern, fast and flexible .NET testing framework

  2. ReSharper

    ReSharper is now available in VS Code and Cursor. ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.

    ReSharper logo
  3. NSubstitute

    A friendly substitute for .NET mocking libraries.

  4. FluentDocker

    Use docker/podman, compose local and remote via a FluentAPI

  5. MSTest

    This repository holds the source code of Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, as well as MSTest adapter and framework. (by microsoft)

  6. List-of-Testing-Tools-and-Frameworks-for-.NET

    ✅ List of Automated Testing (TDD/BDD/ATDD/SBE) Tools and Frameworks for .NET

  7. GitHubActionsTestLogger

    Seamless GitHub Actions integration for .NET test runners

  8. snapshooter

    Snapshooter is a snapshot testing tool for .NET Core and .NET Framework

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. skunit

    skUnit is a testing tool for AI units, such as IChatClient, MCP Servers and agents.

  11. BDTest

    BDTest - A Testing Framework for .NET

  12. xRetry

    Retry running tests via xUnit, Specflow and Reqnroll

  13. xunit-dependency-injection

    :fire: A small library to help .NET developers leverage Microsoft's dependency injection framework in their Xunit-powered test projects

  14. Oscilloscope

    C# Oscilloscope Library and GUI (tested with Rigol DS1102E) (by electro-logic)

  15. neo-fairy-test

    进酒吧点炒饭!Fairyland for Neo3 smart contract testing & debugging! TODO: Storage diff from tx; GAS profiler for each source code line; multisig? debug adapter protocol compatibility?; stable websocket features (memorize fairy txns & deliver in fairy blocks through WS?); set variable value in debugging (difficult), simulate GAS distribution to NEO, ...

  16. 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.

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Test discussion

Log in or Post with

C# Test related posts

  • Scheduling repeating tasks with .NET 6’s NEW Timer

    2 projects | /r/csharp | 20 Jun 2022
  • MSTest 2.2.9 now handles parallel output correctly.

    1 project | /r/csharp | 8 Apr 2022
  • Visual Studio Community and Unit Testing

    1 project | /r/csharp | 23 Nov 2021
  • Most Complete MSTest Framework Tutorial Using .Net Core

    3 projects | dev.to | 5 May 2021
  • Help understanding how to write tests for code that performs actions on databases & Local files

    1 project | /r/csharp | 22 Feb 2021
  • A note from our sponsor - ReSharper
    www.jetbrains.com | 19 Aug 2026
    ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide. Learn more →

Index

What are some of the best open-source Test projects in C#? This list will help you:

# Project Stars
1 TUnit 3,920
2 NSubstitute 2,970
3 FluentDocker 1,387
4 MSTest 1,036
5 List-of-Testing-Tools-and-Frameworks-for-.NET 591
6 GitHubActionsTestLogger 340
7 snapshooter 333
8 skunit 180
9 BDTest 91
10 xRetry 79
11 xunit-dependency-injection 71
12 Oscilloscope 42
13 neo-fairy-test 16
14 EnvironmentDetector 9

Sponsored
ReSharper is now available in VS Code and Cursor
ReSharper brings a professional toolset for C# developers backed by over 20 years of experience, enterprise-grade security, SOC 2 compliance, and the trust of companies worldwide.
www.jetbrains.com