xUnit.net is a free, open source, community-focused unit testing tool for .NET.
- unit-testing
- xunit
- c-sharp
- dotnet
47,133 repositories indexed
1–24 of 32 · Most stars
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
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.
Should testing for .NET—the way assertions should be!
Cross platform code coverage for .NET
A friendly substitute for .NET mocking libraries.
NUnit Framework
The easy mocking library for .NET
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.
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.
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.
Snapshooter is a snapshot testing tool for .NET Core and .NET Framework
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
Bouncy Hsm is a software simulator of HSM and smartcard simulator with HTML UI, REST API and PKCS#11 interface.
Produces text which, on first glance, looks like real, ponderous, prose; replete with clichés.
netDumbster is a .Net Fake SMTP Server clone of the popular Dumbster
Unit testing framework for Sitecore.