Xunit

Open-source projects categorized as Xunit

Top 23 Xunit Open-Source Projects

  • bats-core

    Bash Automated Testing System

  • Project mention: BATS 1.11.0 released | news.ycombinator.com | 2024-03-27
  • xUnit

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

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

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

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • venom

    🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions (by ovh)

  • Project mention: Ask HN: What's your favorite software testing framework and why? | news.ycombinator.com | 2023-05-21

    You can also load fixtures in database directly, work with Kafka queues both as a producer (e.g. write an event to a Kafka queue, wait a few seconds and see that it was consumed by the service you test, and that some side effects can be observed) or as a consumer (e.g. make sure after an HTTP call, an event was correctly pushed to a queue), or even read a mailbox in IMAP to check that your service correctly send an email.

    It's a bit rough on the edges sometimes, but I'd never go back on writing integration tests directly in my programming language. Declarative is the way to go.

    [1]: https://github.com/ovh/venom

  • bash_unit

    bash unit testing enterprise edition framework for professionals

  • LightBDD

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

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

  • reporter

    Publishes test results to Microsoft Teams, Google Chat & Slack (by test-results-reporter)

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

  • DbSample

    Example of automated tests against SQL Server with EF Core

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

  • fsharp-hedgehog-xunit

    Hedgehog with convenience attributes for xUnit.net

  • GenWrap

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

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

Xunit related posts

Index

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

Project Stars
1 bats-core 4,621
2 xUnit 4,020
3 Cake 3,818
4 Fluent Assertions 3,593
5 AutoFixture 3,219
6 SpecFlow 2,206
7 bUnit 1,064
8 venom 974
9 bash_unit 575
10 LightBDD 338
11 snapshooter 286
12 Xunit.Gherkin.Quick 190
13 fluentassertions.analyzers 128
14 reporter 74
15 TestExamplesDotnet 53
16 xRetry 40
17 xunit-dependency-injection 37
18 tic-tac-toe-csharp-playground 37
19 testcontainers-dotnet 33
20 DbSample 9
21 EnvironmentDetector 9
22 fsharp-hedgehog-xunit 8
23 GenWrap 8

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com