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

Notification

Icon
Error

xUnit display weirdness.
distantcam
#1 Posted : Friday, July 20, 2012 8:39:07 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/20/2012(UTC)
Posts: 1

For this xUnit test:

Code:
[Fact(DisplayName = "Bar")]
public void Foo()
{
    Assert.True(false);
}


I would expect the test to have the name Bar in NCrunch, but instead it displays the name Foo.

Also for a Theory would it be possible to display each result seperately?
Remco
#2 Posted : Friday, July 20, 2012 10:32:09 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for posting!

Right now NCrunch is utilising Xunit via Gallio, which somewhat limits the integration options in this area. There are long term plans to move away from this, in which case features such as these will be more feasible to develop.

Something you can try (which may make a difference in the behaviour you experience here) is to change the 'Framework utilisation type for Gallio/Xunit' under your NCrunch solution configuration.
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.026 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download