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. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher. Supports the unit test frameworks MSTest2, MSTest3, MSTest4, NUnit3, NUnit4, XUnit2, XUnit3, MSpec and TUnit. IMPORTANT: This version is free for open-source projects and non-commercial use, but commercial use requires [a paid license](https://xceed.com/products/unit-testing/fluent-assertions/). Check out the [license page](LICENSE) for more information.
Includes the assertion library from xUnit.net (xunit.assert.dll). Supports .NET Standard 1.1+ and .NET 6.0+.
NUnit is a unit-testing framework for all .NET languages. It can run on macOS, Linux and Windows operating systems. NUnit can be used for a wide range of testing, from unit testing with TDD to full-fledged system and integration testing. It is a non-opinionated, broad and deep framework with multiple different ways to assert that your code behaves as expected. Many aspects of NUnit can be extended to suit your specific purposes. The latest version, version 5, is an upgrade from the groundbreaking NUnit 3 framework and its major update version 4. It is a modernized version, aimed at taking advantage of the latest .NET features and C# language constructs. If you are upgrading from NUnit 3, be aware of the breaking changes (https://docs.nunit.org/articles/nunit/release-notes/breaking-changes.html#nunit-40). Please see the NUnit 4 Migration Guide (https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html) and take care to prepare your NUnit 3 code before you do the upgrade. If you're upgrading from NUnit 4, please check the release notes for version 5 (https://docs.nunit.org/articles/nunit/release-notes/framework.html). Supported platforms: - .NET Framework 4.6.2+ - .NET 8.0+ - .NET 10.0+
Analyzers to help writing fluentassertions the right way.
NSubstitute is a friendly substitute for .NET mocking libraries. 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.
This project enhances LINQ to Objects with the following methods: Acquire, Aggregate (some EXPERIMENTAL), AggregateRight, Append, Assert, AssertCount, AtLeast, AtMost, Await (EXPERIMENTAL), AwaitCompletion (EXPERIMENTAL), Backsert, Batch, Cartesian, Choose, CountBetween, CompareCount, CountBy, CountDown, Consume, DistinctBy, Duplicates, EndsWith, EquiZip, Evaluate, Exactly, ExceptBy, Exclude, FallbackIfEmpty, FillBackward, FillForward, Flatten, Fold, ForEach, From, FullGroupJoin, FullJoin, Generate, GenerateByIndex, GroupAdjacent, Index, IndexBy, Insert, Interleave, Lag, Lead, LeftJoin, Maxima, Memoize (EXPERIMENTAL), Merge (EXPERIMENTAL), Minima, Move, OrderBy, OrderedMerge, Pad, PadStart, Pairwise, PartialSort, PartialSortBy, Partition, Permutations, Pipe, Prepend, PreScan, Random, RandomDouble, RandomSubset, Rank, RankBy, Repeat, Return, RightJoin, RunLengthEncode, Scan, ScanBy, ScanRight, Segment, Sequence, Shuffle, SkipLast, SkipLastWhile, SkipUntil, Slice, SortedMerge, Split, StartsWith, Subsets, TagFirstLast, TakeEvery, TakeLast, TakeUntil, ThenBy, ToArrayByIndex, ToDataTable, ToDelimitedString, ToDictionary, ToHashSet, ToLookup, Trace, Transpose, TraverseBreadthFirst, TraverseDepthFirst, TrySingle (EXPERIMENTAL), Unfold, Window, WindowLeft, WindowRight, ZipLongest, ZipShortest
Includes the assertion library from xUnit.net (xunit.v3.assert.dll). Supports .NET Standard 2.0 or later, and .NET 8 or later.
FluentAssertions extensions for WireMock.Net
FluentAssertions extensions to use with the Serilog.Sinks.InMemory package
This is a FluentAssertions extension over the HttpResponseMessage object. It provides specific assertions and outputs rich erros messages that include the HTTP Request and Response. This version **DOES NOT** depend on the commercial version of the FluentAssertions library (>= 8.0.0).
Analyzers to help writing AwesomeAssertions the right way.
Asserting FluentResults objects with FluentAssertions
Fluent Assertions extensions for ASP.NET Core MVC.
A Roslyn analyzer to help migrate from Xunit / NUnit assertions to FluentAssertions
A high-performance, extensible argument validation library.
Open-source SAML 2.0 / SAML-P support for .NET and ASP.NET applications acting as an Identity Provider (IdP), Service Provider (SP), or Relying Party (RP). Supports login, logout, metadata, RSA and ECDSA signing, validation allowlists, configurable AES-CBC/AES-GCM assertion encryption, RSA key encryption, decryption, Redirect, POST, and Artifact bindings, Azure Key Vault certificate scenarios, and tested interoperability with Microsoft Entra ID, AD FS, Azure AD B2C, NemLog-in/OIOSAML, and other SAML 2.0 solutions. The README explains when to implement SAML 2.0 directly with the package and when FoxIDs can act as an external SAML 2.0 bridge for applications that already support OpenID Connect or WS-Federation.
Contains Moq argument matchers using FluentAssertions
XMLUnit provides you with the tools to verify the XML you emit is the one you want to create. It provides helpers to validate against an XML Schema, assert the values of XPath queries or compare XML documents against expected outcomes.
Snapshooter core functionalities to create and assert snapshots in .Net unit tests.
dotMemory Unit is an additional unit testing framework that allows you to write tests that check code for all kinds of memory issues. For example, these can be tests that determine leaks by checking memory for objects of a particular type, or tests that track memory traffic and fail in case the traffic exceeds some threshold. In other words, dotMemory Unit extends your unit testing framework (NUnit, MSTest, or other) with the functionality of a memory profiler. To run tests that use dotMemory Unit, you should reference the dotMemory.Unit assembly (which is a part of this package) from your test project. Tests with the support for dotMemory Unit can be run either with a standalone unit test runner of your choice or with the ReSharper unit test runner. For standalone runners, you should use a mediator - the standalone dotMemory Unit launcher. If you want to use the ReSharper unit test runner, you should have either ReSharper 9.1 (or later) or dotCover 3.1 (or later) installed on your machine
This is a AwesomeAssertions extension over the HttpResponseMessage object. It provides specific assertions and outputs rich erros messages that include the HTTP Request and Response.
Fluent Assertions extensions for Autofac
Fluent Assertions extensions for NodaTime
A picture's worth a 1000 tests. Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed.
Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit. It creates and asserts snapshots (json) within Xunit unit tests.
ASP.NET Core MVC integration helpers for implementing SAML 2.0 with ITfoxtec.Identity.Saml2. Adds SAML 2.0 service and middleware registration, request conversion, cookie authentication integration, and IActionResult helpers for SAML 2.0 login, logout, metadata, Redirect, POST, Artifact, and SOAP responses. Includes the core library's modern RSA/ECDSA signature validation and configurable assertion encryption support. The README explains when to implement SAML 2.0 directly in ASP.NET Core and when FoxIDs can act as an external SAML 2.0 bridge for applications that already support OpenID Connect or WS-Federation.
Generalized assertion library, covering argument, operation, and unit test assertions.
Additonal FluentAssertions for multithreaded tests
Bellatrix is a cross-platform, easily customizable and extendable .NET test automation framework that increases tests’ reliability.
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 Framework 4.6.2+ - .NET 8.0+ - .NET 10.0+ How to use this package: 1. Create a console application for your tests and delete the generated class containing Main(). 2. Install the NUnitLite package, which creates a new Main() as well as adding a reference to NUnitLite. This will also bring in the NUnit package, which adds a reference to the NUnit framework to your project. 3. Add your tests to the test project and simply start the project to execute them.
Extension to FluentAssertions which improves OneOf should allow easier unit testing of the OneOf library by
This package provides a set of extensions to FluentAssertions to simplify the testing of project using CSharpFunctionalExtensions
Bellatrix is a cross-platform, easily customizable and extendable .NET test automation framework that increases tests’ reliability.
The library is an extensions for validating a json documents in Fluent assertions
A assertion extensions of FluentResults for Nut.Results
Fluent assertion extensions for Serilog.TestLogger. Version 2.0.0 supports Fluent Assertions 6.
a library for bridging between NSubstitute and FluentAssertions