Top 20 NuGet Unit Testing Packages

A collection of tools for writing unit tests. Useful when extending Service Doctor. This package should only be referenced from a project containing tests.
Simple lib for testing context covers common test issues
Unit Testing with Local Functions 🐯 Use NUnit to write TDD or BDD tests: ✔️ Arrange / Act / Assert ✔️ Given / When / Then ✔️ Context / Specification
Unit Testing with Local Functions 🐯 Use MSTest to write TDD or BDD tests: ✔️ Arrange / Act / Assert ✔️ Given / When / Then ✔️ Context / Specification
Custom xUnit data attributes.
A super simple BDD library that doesn't mangle your code, just add Given("..."); When("..."); Then("..."); to your tests. Generate Gherkin .feature files from your unit tests
An experimental unit testing framework with custom fluent assertions.
The package provides static code analysis functions to verify architectural requirements like component structures, layers or dependency rules. At the moment the package is limited to a specific architecture of two concentric layers inspired by the "Clean Architecture" described by Bob Martin. But y...
Fluent assertions wrapper for XUnit
Now with .NET Standard support! The Should Assertion Library provides a set of extension methods for test assertions for AAA and BDD style tests. It provides assertions only, and as a result it is test runner agnostic. The assertions are a direct fork of the xUnit test assertions. This proje...
An xUnit extension to dynamically generate human readable test names.
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(...
A mockable wrapper for System.Net.Http.HttpClient.
A xUnit.net 2 support for ImpruvIT.DataValidation library. ImpruvIT.DataValidation is a simple easily extensible data validation library with fluent API and descriptive failure messages. Supports validation of code contracts (arguments and return values) and test assertions with the same API...
A MSTest 1 support for ImpruvIT.DataValidation library. ImpruvIT.DataValidation is a simple easily extensible data validation library with fluent API and descriptive failure messages. Supports validation of code contracts (arguments and return values) and test assertions with the same API bu...