Top 20 NuGet unittest Packages
NaturalSpec is a .NET UnitTest framework which provides automatically testable specs in natural language.
MvcRouteTester is a .Net library to help unit testing ASP MVC route tables. It contains asserts for for both regular controllers and the Api controllers that are new in MVC 4.0. It is built in .Net 4.5 and ASP MVC 5.1. See the project page for packages for ASP MVC 5.0 and ASP MVC 4.0
Integration testing framework for developers. TestR allows automating testing of web applications. Adds PowerShell features that are not part of the regular deployment.
Extensions.Logging.ListOfString logs to a list of string so you can test your logging : ``` ILoggerFactory factory=new LoggerFactory.AddProvider(new StringListLoggerProvider()) ILogger logger= factory.CreateLogger("Test1"); ...tests... ; StringListLogger.Instance .LoggedLines .ShouldContain(...
FakeHttpMessageHandler seamlessly fakes http request sent from System.Net.Http.HttpClient for purpose of unit testing code that previously could only be integration tested.
Method Chaining base UnitTesting Extension Methods and Dynamic Private Accessor for MSTest. This provides only single .cs file.
Extension methods for accessing private fields / properties for unit test projects. Supported platform: - .NET Framework 4.0+ - .NET Core 2.0+
NDbUnit for SqlServer CE targets; NDbUnit is a framework for managing database state during data-dependent unit tests
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape. This is a forked version that contains a very basic remote WireMock Admin API and an Interface to make your tests capable of running against a local or a remote WireMock server transparently.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. This package contains an ILogContext which writes to a Serilog ILogger.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. This package contains experimental code that might some day make it to the Mocklis or Mocklis.Core packages.
A unit testing framework, built on Moq, for Microsoft Dynamics 365 CE