Top 20 NuGet packages for Unit Testing

Moq icon

Moq: an enjoyable mocking library

Moq is the most popular and friendly mocking framework for .NET

vote Vote for this package

Score: 19.6 | votes (18) | comments (0) | 6/21/2017 | v 4.7.63


NSubstitute icon

NSubstitute

NSubstitute is a friendly substitute for .NET mocking frameworks. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind.

vote Vote for this package

Score: 15.2 | votes (12) | comments (0) | 4/25/2017 | v 2.0.3


FluentAssertions icon

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 test. Runs on 4.0 and 4.5 (Desktop and Windows Store), CoreCLR, Silverlight 5 and Windows Phone 8, 8.1 and 8.1 for Silverlight. Supports the unit test frameworks ...

vote Vote for this package

Score: 12.2 | votes (9) | comments (0) | 3/8/2017 | v 4.19.2


TrueFakes icon

True Fakes

Xamarin based mocking framework that really helps to isolate dependencies in your mobile unit tests.

vote Vote for this package

Score: 11.1 | votes (11) | comments (0) | 4/6/2017 | v 2.5.0.601


FakeItEasy icon

FakeItEasy - Mocking made faking easy!

It's faking amazing! The easy mocking framework for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze.

vote Vote for this package

Score: 10.7 | votes (5) | comments (0) | 6/19/2017 | v 3.4.2


NUnit icon

NUnit

NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. This package includes the NUnit 3 framework assembly, which is referenced by your tests. You will need to install version 3 of the nunit3-console program or a third-party runner that supports NUni...

vote Vote for this package

Score: 10.6 | votes (6) | comments (0) | 6/6/2017 | v 3.7.1


Shouldly icon

Shouldly

Shouldly - Assertion framework for .NET. The way asserting *Should* be

vote Vote for this package

Score: 7.4 | votes (1) | comments (0) | 6/5/2017 | v 2.8.3


Chill icon

Chill BDD Testing

A BDD style testing framework, heavily relying on auto mocking containers.

vote Vote for this package

Score: 7.3 | votes (1) | comments (0) | 6/9/2017 | v 3.0.1


ExpectedObjects icon

ExpectedObjects

A testing library for creating Expected Objects

vote Vote for this package

Score: 7.1 | votes (1) | comments (0) | 5/9/2017 | v 1.3.0


NBuilder icon

NBuilder

Through a fluent, extensible interface, NBuilder allows you to rapidly create test data, automatically assigning values to properties and public fields that are one of the built in .NET data types (e.g. ints and strings). NBuilder allows you to override for properties you are interested in using lam...

vote Vote for this package

Score: 7.1 | votes (3) | comments (0) | 12/4/2016 | v 4.0.0


OwinHttpMessageHandler icon

OwinHttpMessageHandler

An implementation of HttpMessageHandler for use with HttpClient that invokes requests directly against an OWIN application. Useful for testing and embedded scenarios.

vote Vote for this package

Score: 7.1 | votes (0) | comments (0) | 4/6/2017 | v 1.3.8


NFluent icon

NFluent, smooth your .NET TDD experience!

NFluent is an ergonomic check library which aims to fluent your .NET TDD experience (based on simple Check.That() check statements). NFluent aims your tests to be fluent to write (with an happy 'dot' auto completion experience), fluent to read (i.e. as close as possible to plain English expression),...

vote Vote for this package

Score: 6.9 | votes (2) | comments (0) | 9/23/2015 | v 1.3.1.0


Microsoft.AspNetCore.TestHost icon

Microsoft.AspNetCore.TestHost

ASP.NET Core web server for writing and running tests.

vote Vote for this package

Score: 6.7 | votes (0) | comments (0) | 5/9/2017 | v 1.1.2


Expecto icon

Expecto

Expecto is a smooth test framework for F#, cloned from Fuchu with added functionality for making it easier to use.

vote Vote for this package

Score: 6.6 | votes (1) | comments (0) | 6/17/2017 | v 5.0.0


FsCheck.Xunit icon

FsCheck.Xunit

FsCheck.Xunit integrates FsCheck with xUnit.NET by adding a PropertyAttribute that runs FsCheck tests, similar to xUnit.NET's FactAttribute. All the options normally available in vanilla FsCheck via configuration can be controlled via the PropertyAttribute.

vote Vote for this package

Score: 6.6 | votes (0) | comments (0) | 5/18/2017 | v 2.9.0


FsCheck icon

FsCheck

FsCheck is a tool for testing .NET programs automatically. You provide a specification of the program, in the form of properties which functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. Such properties are actu...

vote Vote for this package

Score: 6.4 | votes (0) | comments (0) | 5/18/2017 | v 2.9.0


NUnitLite icon

NUnitLite

NUnitLite provides a simple way to run NUnit tests, without the overhead of a full NUnit installation. It is suitable for projects that want to have a quick way to run tests using a console runner and don't need all the features of the NUnit engine and console runner. Supported platforms: - .NET 2....

vote Vote for this package

Score: 6.4 | votes (0) | comments (0) | 6/6/2017 | v 3.7.1


Sitecore.FakeDb icon

Sitecore.FakeDb

Unit testing framework for Sitecore.

vote Vote for this package

Score: 6.4 | votes (0) | comments (0) | 6/16/2017 | v 1.6.1


NodaTime.Serialization.JsonNet icon

NodaTime.Serialization.JsonNet

Provides serialization support between Noda Time and Json.NET.

vote Vote for this package

Score: 6.3 | votes (0) | comments (0) | 3/31/2017 | v 2.0.0


Abp.TestBase icon

Abp.TestBase

Package Description

vote Vote for this package

Score: 6.3 | votes (0) | comments (0) | 6/16/2017 | v 2.1.3