-
-
Notifications
You must be signed in to change notification settings - Fork 93
consider using Actual.ToString() if ActualExpression is null #3262
-
Hey, i know i'm trying ot avoid AAA, but i'd like to request that the Assert.That() method handles value, or rather, valueExpression, nicer (especially for Tests with [Arguments]
imageFor another usecase, i wrote an overload of the method i'm actually testing, outputting a string representation of the modified parameter, but that's not particularly generalizable :-(
image
so i'd like to ideally get the behavior Assert.That (and friends) to behave this way:
image
i.e. it would output
Message: Expected a,, ,b, ,,c to be the same boxes as a,, ,b, ,,c but they are different
instead of
`
Message:
Expected Boxes.StampBoxStrings(strings) to be the same boxes as
a,,
,b,
,,c
but they are different
`
in the test explorer:
image
Beta Was this translation helpful? Give feedback.