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

Notification

Icon
Error

xunit, ncrunch, VS2012
chadit
#1 Posted : Thursday, February 7, 2013 4:50:02 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/7/2013(UTC)
Posts: 5
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
Anyone been able to get these to play together. In the documentation it talks about ncrunch has a dependency to gallio for xunit test; however gallio appears to be stalled at 2010 support.
Remco
#2 Posted : Thursday, February 7, 2013 9:21:45 PM(UTC)
Rank: NCrunch Developer

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

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

As far as I'm aware - this should be working normally. Can you describe the symptoms you're experiencing? Also, can you submit a bug report?


Cheers,

Remco
chadit
#3 Posted : Friday, February 8, 2013 6:50:32 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/7/2013(UTC)
Posts: 5
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
Description

I have visual studio 2012 installed, ncrunch works perfect with MSTest. I created a new project, installed the nuget installation of xunit. ncrunch does not appear to recognize xunit as a testing framework, there is not autorun. if I open up the ncrunch test window, it says zero test. I saw in the documentation somewhere that ncrunch used something from the gallio project, so not know if it was necessary I installed gallio 3.4 and added it to the xunit project.

Let me know if you would like me to create a sample solution and send it to you.

Chad
Remco
#4 Posted : Friday, February 8, 2013 6:58:41 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Chad -

Thanks, I just saw the report come through!

According to the log, it looks like NCrunch hasn't been enabled. Is there an 'Enable' option available to you under the 'NCrunch' menu?
chadit
#5 Posted : Monday, February 11, 2013 11:07:12 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/7/2013(UTC)
Posts: 5
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
Sorry about that I submitted the bug report when I was not in a project, resubmitted it. yes nCrunch is enabled. In order to verify nCrunch is working I created a unit testing class that is using MSTest. Here is the sample project I created https://github.com/chadit/TestingDemo
Remco
#6 Posted : Monday, February 11, 2013 11:15:49 PM(UTC)
Rank: NCrunch Developer

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

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

Thanks for the report and the sample solution. The sample solution was particularly helpful in analysing this issue.

It looks as though you're making use of an early alpha of v2 of xUnit. Have you tried using NCrunch with a non-alpha version of xUnit? (i.e. 1.9).

The behaviour of NCrunch with xUnit 2.0 is completely untested, as this version of xUnit won't be supported by NCrunch until shortly after it is fully released.
chadit
#7 Posted : Tuesday, February 12, 2013 7:26:23 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/7/2013(UTC)
Posts: 5
Location: United States of America

Was thanked: 1 time(s) in 1 post(s)
That was it, this can be closed out. Thank you Remco.
1 user thanked chadit for this useful post.
Remco on 2/12/2013(UTC)
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.044 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download