Make string failure messages more like Xunit for clarity? #2048
thomOrbelius
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Hi Thom. This is definitely a case where we now lack behind the bare test frameworks and could improve. Have you noticed if there are other string APIs than |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I've created #2050 to track this work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
In my department we have been starting to use FluentAssertions. One of the selling point I had was the improved failure messages. A colleague of mine pointed out that the Xunit failure messages for strings is much more helpful (see example below) than the FluentAssertion equivalent. The example shows a case where we use a string with a newline separator.
Do any one else think that a message more similar to the one Xunit has is more helpful than the current? If so, should we update the message used?
Beta Was this translation helpful? Give feedback.
All reactions