C# Xunit

Open-source C# projects categorized as Xunit

Top 19 C# Xunit Projects

  • xUnit

    xUnit.net is a free, open source, community-focused unit testing tool for .NET.

  • Project mention: 20 Top C# Frameworks and Libraries on GitHub for Building Powerful Applications | dev.to | 2024-05-23

    20. XUnit

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Cake

    :cake: Cake (C# Make) is a cross platform build automation system.

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

  • Project mention: 20 Top C# Frameworks and Libraries on GitHub for Building Powerful Applications | dev.to | 2024-05-23

    15. FluentAssertions

  • 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: API: Go, .NET, Rust | /r/dotnet | 2023-12-09

    Yes, it does feel like some of the "standard stuff" in other more nuanced languages are missing (especially miss AutoFixture ngl). Some of those are a conscious decison by the golang team for example.

  • SpecFlow

    #1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration

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

  • LightBDD

    BDD framework allowing to create easy to read and maintain tests.

  • SaaSHub

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

    SaaSHub logo
  • snapshooter

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

  • Xunit.Gherkin.Quick

    BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)

  • fluentassertions.analyzers

    Analyzers based on the FluentAssertions best practices docs

  • Project mention: Optimizing C# code analysis for quicker .NET compilation | dev.to | 2023-11-14

    Several well-known NuGet packages such as xUnit.net, FluentAssertions, StyleCop, Entity Framework Core, and others include by default a significant number of Roslyn analyzers. They help you adhere to the conventions and best practices of these libraries.

  • TestExamplesDotnet

    Showing how you can easily setup fast and easy to run more complex tests such as api tests or browser tests in .NET

  • Project mention: TestExamplesDotnet: make it easy to setup your tests! | /r/dotnet | 2023-12-02
  • xRetry

    Retry running tests via Xunit and Specflow

  • xunit-dependency-injection

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

  • tic-tac-toe-csharp-playground

    Another fun project just to update what I know about C# :video_game:

  • testcontainers-dotnet

    dotnet port of testcontainers-java (by isen-ng)

  • Project mention: Integration Test Postgres with testcontainers-dotnet | dev.to | 2023-07-14

    This is a continuation of an earlier post Integration Testing Postgres Store. In this tutorial I will extend the sample to use testcontainers-dotnet to spin up database container and apply migrations before executing our integration tests.

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

  • DbSample

    Example of automated tests against SQL Server with EF Core

  • GenWrap

    Open source, source-generated unit testing extensions for .NET

  • CaptureLogsInUnitTests

    Blog post

  • 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# Xunit discussion

Log in or Post with

C# Xunit related posts

  • Optimizing C# code analysis for quicker .NET compilation

    4 projects | dev.to | 14 Nov 2023
  • Integration testing in Umbraco 10+: Validating document types

    1 project | dev.to | 3 Oct 2023
  • Comprehensive Unit Testing: A Line-by-Line Approach

    2 projects | dev.to | 12 Sep 2023
  • FluentValidation in .NET

    1 project | dev.to | 30 Jun 2023
  • Running a XUnit test with C#?

    3 projects | /r/csharp | 28 May 2023
  • I need a place to post programming questions

    1 project | /r/findareddit | 31 Mar 2023
  • NUnit vs XUnit for .net6+ microservices

    7 projects | /r/dotnet | 1 Mar 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 xUnit 4,086
2 Cake 3,835
3 Fluent Assertions 3,640
4 AutoFixture 3,267
5 SpecFlow 2,219
6 bUnit 1,082
7 LightBDD 338
8 snapshooter 291
9 Xunit.Gherkin.Quick 192
10 fluentassertions.analyzers 133
11 TestExamplesDotnet 56
12 xRetry 41
13 xunit-dependency-injection 38
14 tic-tac-toe-csharp-playground 37
15 testcontainers-dotnet 34
16 EnvironmentDetector 9
17 DbSample 9
18 GenWrap 8
19 CaptureLogsInUnitTests 3

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com