Skip to content

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. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.

License

Notifications You must be signed in to change notification settings

SeMuell/fluentassertions

This branch is 590 commits behind fluentassertions/fluentassertions:main.

Folders and files

NameName
Last commit message
Last commit date
Oct 15, 2023
Sep 27, 2023
Oct 4, 2023
Oct 18, 2023
Oct 18, 2023
Oct 18, 2023
Jun 23, 2023
Sep 13, 2019
Feb 14, 2023
Jul 23, 2022
Jan 17, 2022
Apr 20, 2017
Jan 6, 2023
Oct 11, 2023
Oct 18, 2023
Mar 26, 2023
Aug 23, 2023
Mar 23, 2021
Sep 20, 2023
Aug 27, 2021
Jan 3, 2023
Jan 3, 2023
Oct 5, 2023
May 30, 2019
Jan 5, 2023
Nov 8, 2022
Oct 14, 2023
May 21, 2023
Oct 15, 2023
Oct 14, 2023

Repository files navigation

Extension methods to fluently assert the outcome of .NET tests

Coveralls branch qodana GitHub Repo stars GitHub contributors GitHub last commit GitHub commit activity open issues

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. Targets .NET Framework 4.7, as well as .NET 6, .NET Standard 2.0 and 2.1.

See https://www.fluentassertions.com for background information, usage documentation, an extensibility guide, support information and more tips & tricks.

Who created this?

Originally authored by Dennis Doomen with Jonas Nyrup as the productive side-kick. Notable contributions were provided by Artur Krajewski, Lukas Grützmacher and David Omid.

How do I build this?

Install Visual Studio 2022 17.0+ or JetBrains Rider 2021.3 as well as the Build Tools 2022 (including the Universal Windows Platform build tools). You will also need to have .NET Framework 4.7 SDK and .NET 7.0 SDK installed. Check global.json for the current minimum required version.

What are these Approval.Tests?

This is a special set of tests that use the Verify project to verify whether you've introduced any breaking changes in the public API of the library.

If you've verified the changes and decided they are valid, you can accept them using AcceptApiChanges.ps1 or AcceptApiChanges.sh. Alternatively, you can use the Verify Support plug-in to compare the changes and accept them right from inside Rider. See also the Contribution Guidelines.

Sponsors

     

With support from the following public sponsors

About

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. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.8%
  • Other 0.2%