MyGit

fluentassertions/fluentassertions

Fork: 722 Star: 3837 (更新于 2025-02-12 18:01:21)

license: NOASSERTION

Language: C# .

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.

最后发布版本: 7.1.0 ( 2025-01-17 14:51:22)

官方网址 GitHub网址


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

Fluent Assertions provides a comprehensive set of extension methods that enable developers to express the expected outcomes of TDD (Test-Driven Development) and BDD (Behavior-Driven Development) unit tests in a natural, readable style. It is compatible with .NET Standard 2.0+, .NET Framework 4.7+, and .NET 6+.

Versions 8 and beyond are free for open-source projects and non-commercial use, but commercial use requires a paid license. Check out the license page for more information. Version 7 will remain fully open-source indefinitely and receive bugfixes and other important corrections.

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

Xceed Partnership FAQ

Originally authored by Dennis Doomen with Jonas Nyrup as the productive side-kick. Xceed is now an official Partner to Fluent Assertions! Learn what this partnership means for our users. After extensive discussions with the Fluent Assertions team, we are thrilled about the future of the product and look forward to its continued growth and development.

How do I build this?

Install Visual Studio 2022 17.8+ 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 8.0 SDK installed. Check the 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.

Powered By

最近版本更新:(数据更新于 2025-01-18 02:11:09)

2025-01-17 14:51:22 7.1.0

2025-01-14 19:54:10 8.0.0

2025-01-05 21:06:38 8.0.0-rc.2

2025-01-05 18:15:43 8.0.0-rc.1

2024-12-03 03:03:54 8.0.0-alpha.1

2024-12-01 22:11:18 7.0.0

2024-11-08 20:09:38 6.12.2

2024-09-09 22:04:55 6.12.1

2023-08-23 18:53:29 6.12.0

2023-04-21 02:28:06 6.11.0

主题(topics):

assertions, bdd-style, c-sharp, fluent-assertions, hacktoberfest, mstest, tdd, unit-testing, xunit

fluentassertions/fluentassertions同语言 C#最近更新仓库

2025-02-13 00:52:20 babalae/better-genshin-impact

2025-01-29 02:44:28 microsoft/PowerToys

2025-01-26 06:13:31 BartoszCichecki/LenovoLegionToolkit

2025-01-26 03:14:31 jellyfin/jellyfin

2025-01-22 23:33:43 Ryubing/Ryujinx

2025-01-20 20:40:17 rayenghanmi/RyTuneX