if we use something like: Assert.That(actualBool, Is.EqualTo(expectedBool)); in NUnit version: 3.13.3.0
when they do not match we get the output:
Expected: True
But was: False
With the new CallerArgumentExpressionAttribute it would be easy to get:
actualBool
Expected: True
But was: False
This would be easier to understand in unit tests. ... and extremly easy to implement.
if we use something like:
Assert.That(actualBool, Is.EqualTo(expectedBool));in NUnit version: 3.13.3.0when they do not match we get the output:
With the new CallerArgumentExpressionAttribute it would be easy to get:
This would be easier to understand in unit tests. ... and extremly easy to implement.