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) | 5/6/2017 | v 4.7.10


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: 13.1 | 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.6 | votes (5) | comments (0) | 5/4/2017 | v 3.3.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.0 framework assembly, which is referenced by your tests. You will need to install version 3.0 of the nunit3-console program or a third-party runner that supports ...

vote Vote for this package

Score: 10.1 | votes (6) | comments (0) | 2/26/2017 | v 3.6.1


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


NodaTime.Serialization.JsonNet icon

NodaTime.Serialization.JsonNet

Provides serialization support between Noda Time and Json.NET.

vote Vote for this package

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


Bogus icon

Bogus

A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mock up data. Get started by using Faker class or a DataSet directly.

vote Vote for this package

Score: 7.1 | votes (0) | comments (0) | 5/7/2017 | v 15.0.3


FsUnit icon

FsUnit

FsUnit is a set of extensions that add special testing syntax to NUnit.

vote Vote for this package

Score: 7.1 | votes (2) | comments (0) | 3/5/2017 | v 3.0.0


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


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


Flurl.Http icon

Flurl.Http

A fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.

vote Vote for this package

Score: 7 | votes (1) | comments (0) | 2/27/2017 | v 1.1.2


NSpectator icon

NSpectator

NSpectator is a ready-to-use solution for development using .NET with Context/Specification flavor. Toolset is intended to be used to drive development through specifying behavior and interaction at the unit level. NSpectator has no dependencies. Feel free to use any assertion library.

vote Vote for this package

Score: 6.9 | votes (1) | comments (0) | 3/15/2017 | v 2.0.2


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


Chill icon

Chill BDD Testing

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

vote Vote for this package

Score: 6.7 | votes (1) | comments (0) | 5/15/2017 | v 3.0.0


NUnit.Console icon

NUnit Console Runner Version 3 Plus Extensions

This package includes the nunit3-console runner and test engine for version 3 of the NUnit unit-testing framework. The following extensions are included with this package: * NUnitProjectLoader - loads tests from NUnit projects * VSProjectLoader - loads tests from Visual...

vote Vote for this package

Score: 6.7 | votes (0) | comments (0) | 3/7/2017 | v 3.6.1


NodaTime.Testing icon

NodaTime.Testing

Provides extra types which may be useful when testing code which uses Noda Time, such as a fake programmable implementation of IClock and a time zone which has a fixed transition. These types are also used to test Noda Time itself.

vote Vote for this package

Score: 6.6 | votes (0) | comments (0) | 5/22/2017 | v 2.0.2


Microsoft.AspNetCore.TestHost icon

Microsoft.AspNetCore.TestHost

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

vote Vote for this package

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


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.5 | votes (0) | comments (0) | 5/18/2017 | v 2.9.0