xUnit.net is a free, open source, community-focused unit testing tool for .NET.
- unit-testing
- xunit
- c-sharp
- dotnet
56,638 visible repositories in the index
1–24 of 40 · Most stars
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
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 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.
Cross platform code coverage for .NET
A friendly substitute for .NET mocking libraries.
Mutation testing for .NET core and .NET framework!
The easy mocking library for .NET
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
Fluent testing library for ASP.NET Core MVC.
A .NET library for carefully refactoring critical paths. It's a port of GitHub's Ruby Scientist library
A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Use docker/podman, compose local and remote via a FluentAPI
Netling is a load tester client for easy web testing.
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.
Replace any .NET method (including static and non-virtual) with a delegate
This repository holds the source code of Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, as well as MSTest adapter and framework.
Skynet 1M threads microbenchmark
Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.
GenFu is a library you can use to generate realistic test data. It is composed of several property fillers that can populate commonly named properties through reflection using an internal database of values or randomly created data. You can override any of the fillers, give GenFu hints on how to fill them.
Performance benchmarking and testing framework for .NET applications :chart_with_upwards_trend:
BDD framework allowing to create easy to read and maintain tests.
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
A .NET library for intercepting server-side HTTP requests
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting