AssertionScope w/explicit name AND DetermineCallerIdentity #2633
fuzzykiller
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Isn't that what #2607 fixes? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, I'd like to provide human-readable context for a particular block of assertions. This however means that FluentAssertions no longer does its automatic assertion subject check. So instead of...
I then get
That's not terribly helpful in my opinion. I can no longer see the property being checked. I'd like to have both: Explicitly provided scope name AND the automatic subject detection. Or maybe even, generally, a way for the resulting context name to be made up of all the nested (named) scopes along the way.
I see that
AssertionScope
is currently being redesigned, so maybe this here is a possible future improvement?Beta Was this translation helpful? Give feedback.
All reactions