Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

XUnit Assert.Equal message missing diagnostic info
soundcode
#1 Posted : Wednesday, February 15, 2012 10:51:22 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/7/2012(UTC)
Posts: 2
Location: UK

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


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


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


thanks
Remco
#2 Posted : Wednesday, February 15, 2012 8:34:28 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,045

Thanks: 941 times
Was thanked: 1265 time(s) in 1177 post(s)
Thanks for reporting this. I'll take a look and will see what I can do.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.021 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download