DEV Community

Discussion on: June 25th, 2021: What did you learn this week?

Collapse
 
willvelida profile image
Will Velida

I learnt about using Assertion Scope in C# with Fluent Assertions.

TLDR; If you write a test that uses multiple assertions, you can check the result for all of them at once using a Assertion Scope rather than having to fix your code each time your test fails on a Assertion!

I think it'll need to be my next #csharp blog post 😊

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Actor from Game of Thrones saying Nice!