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

Notification

Icon
Error

Go to selected test doesn't work for MSpec
jeffwalker
#1 Posted : Monday, July 2, 2012 2:34:14 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/2/2012(UTC)
Posts: 2
Location: Memphis, TN

I am using NCrunch with MSpec on Visual Studio 2010, using C#, and .net 4.

From the NCrunch Tests view, when I double-click on a test, or I right-click and select Go to selected test, it doesn't do anything.

I was using 1.39 until today, I upgraded to 1.40b to see if it fixed it (I've read about fixes in that area) and it didn't.

I will say that when I first started using NCrunch, it didn't work and then it started working for a little while, but has since stopped.
Also, the NUnit tests work fine, it goes to the test, but the MSpec doesn't.

Anything else I can provide? Great product, by the way.

Jeff

Remco
#2 Posted : Tuesday, July 3, 2012 9:02:01 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi Jeff,

Thanks for posting!

Do you experience this problem with all tests? Does it also happen for other test frameworks on your system?

Also, does it appear to be specific to any one solution, or all solutions you use NCrunch on?
darrenkopp
#3 Posted : Wednesday, July 25, 2012 8:44:56 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/25/2012(UTC)
Posts: 2

I'm guessing that this only applies to tests that are "inconclusive" in mspec, at least that is the case for me.

So given a spec like this....

It should_do_something;

NCrunch won't navigate to that test from the tests window or what not, but if it's a successful or failed test that has an actual implementation, then it works fine.
Remco
#4 Posted : Wednesday, July 25, 2012 11:58:54 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
This is caused by a technical limitation of tests without a body, as these tests have no representation in the PDB file and therefore NCrunch isn't able to 'find' them in the source code.

I'm afraid there aren't any quick fixes to this. It will need to be addressed as a long term problem. Thanks for reporting it!
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.045 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download