Build/Test Issues

XUnit Assert.Equal message missing diagnostic info

Started by soundcode on 9,582 views

I'm running an Xunit test like this:
Assert.Equal("Hello world", md);


when I click on the red X, all I see is
Xunit.Sdk.EqualException: Assert.Equal() Failure


I would like to see the full message
Position: First difference is at position 0
Expected: Hello world
Actual:   xyz


thanks
Thanks for reporting this. I'll take a look and will see what I can do.

Post a reply

Log in to reply.