学习笔记之FluentAssertions

dotnet/src/MoqSample at master · haotang923/dotnet · GitHub

FluentAssertions

  • https://github.com/fluentassertions
  • The best assertion framework in the .NET realm. “With Fluent Assertions, the assertions look beautiful, natural and most importantly, extremely readable.”

Improving Unit Testing with FluentAssertions | Passion for Coding

  • https://coding.abel.nu/2013/10/improving-unit-testing-with-fluentassertions/
  • FluentAssertions is an alternative assertion library for unit tests, to use instead of the methods in Assert class that Microsoft provides. It has much better support for exceptions and some other stuff that improves readability and makes it easier to produce tests.

c# - How to use Fluent Assertions to test for exception in inequality tests? - Stack Overflow

  • https://stackoverflow.com/questions/35006452/how-to-use-fluent-assertions-to-test-for-exception-in-inequality-tests
原文地址:https://www.cnblogs.com/pegasus923/p/8650346.html