OSS Power-Ups: Fluent Assertions – Webinar recording
This is the second episode of our series of OSS Power-Ups, where we want to put a spotlight on open-source .NET projects. Fluent Assertions is an extensive set of extension methods that allows you to more naturally specify the expected outcome of TDD or BDD-styled unit tests. Dennis Doomen, the creator of this beautiful library, will help us getting started. Next to highlighting some of the little gems not many people may know about and how to start building your own extensions, we’ll be showing how Fluent Assertions is not just an assertion library, but a crucial ingredient for writing intention-revealing unit tests.
As always, we will have a couple of surprises for Dennis and the users of FluentAssertions to reveal. Don’t miss it!
- 0:00 – What are OSS-PowerUps?
- 2:34 – Introduction
- 5:46 – What is Fluent Assertions?
- 10:20 – Equal vs. Equivalent
- 15:28 – Collection equivalency
- 19:15 – The because parameter
- 21:31 – Date and time
- 27:25 – Chaining assertions
- 31:38 – Async/await
- 42:45 – Extensibility
- 49:39 – Numeric types
- 55:15 – FluentAssertions in Rider
- 1:01:12 – Wrap up
About the presenter:
Dennis is a veteran architect in the .NET space with a special interest in writing clean code, Domain-Driven Design, Event Sourcing, and everything agile. He specializes in designing enterprise solutions based on the .NET technologies as well as providing coaching on all aspects of designing, building, and maintaining enterprise systems.
He is the author of www.fluentassertions.com, a very popular .NET assertion framework, www.liquidprojections.net, a set of libraries for building Event Sourcing architectures and he has been maintaining coding guidelines for C# on www.csharpcodingguidelines.com since 2001. He also keeps a blog on his everlasting quest for better solutions at www.continuousimprover.com.
Follow Dennis on Twitter.